Skip to content

Commit 7d5a4cf

Browse files
Add vpatch-CVE-2024-2862 rule and test (#1632)
* Add vpatch-CVE-2024-2862 rule * Add vpatch-CVE-2024-2862 test config * Add CVE-2024-2862.yaml test * Add vpatch-CVE-2024-2862 rule to vpatch collection
1 parent d37bb39 commit 7d5a4cf

File tree

4 files changed

+62
-0
lines changed

4 files changed

+62
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## autogenerated on 2026-01-07 15:12:35
2+
id: CVE-2024-2862
3+
info:
4+
name: CVE-2024-2862
5+
author: crowdsec
6+
severity: info
7+
description: CVE-2024-2862 testing
8+
tags: appsec-testing
9+
http:
10+
- raw:
11+
- |
12+
PUT /api/changePw HTTP/1.1
13+
Host: {{Hostname}}
14+
X-Forwarded-For: 127.0.0.1
15+
User-Agent: test
16+
Content-Type: application/x-www-form-urlencoded
17+
18+
newPw=Password@123&hostName=testhost&to=to&user=admin&from=from
19+
cookie-reuse: true
20+
matchers:
21+
- type: status
22+
status:
23+
- 403
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## autogenerated on 2026-01-07 15:12:35
2+
appsec-rules:
3+
- ./appsec-rules/crowdsecurity/base-config.yaml
4+
- ./appsec-rules/crowdsecurity/vpatch-CVE-2024-2862.yaml
5+
nuclei_template: CVE-2024-2862.yaml
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## autogenerated on 2026-01-07 15:12:35
2+
name: crowdsecurity/vpatch-CVE-2024-2862
3+
description: 'Detects unauthenticated password reset in LG LED Assistant via spoofed X-Forwarded-For header.'
4+
rules:
5+
- and:
6+
- zones:
7+
- URI
8+
transform:
9+
- lowercase
10+
match:
11+
type: equals
12+
value: /api/changepw
13+
- zones:
14+
- HEADERS
15+
variables:
16+
- x-forwarded-for
17+
transform:
18+
- lowercase
19+
match:
20+
type: contains
21+
value: 127.0.0.1
22+
23+
labels:
24+
type: exploit
25+
service: http
26+
confidence: 3
27+
spoofable: 0
28+
behavior: 'http:exploit'
29+
label: 'LG LED Assistant - Authentication Bypass'
30+
classification:
31+
- cve.CVE-2024-2862
32+
- attack.T1190
33+
- cwe.CWE-640

collections/crowdsecurity/appsec-virtual-patching.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ appsec-rules:
148148
- crowdsecurity/vpatch-CVE-2025-13315
149149
- crowdsecurity/vpatch-CVE-2025-52970
150150
- crowdsecurity/vpatch-CVE-2025-47188
151+
- crowdsecurity/vpatch-CVE-2024-2862
151152
author: crowdsecurity
152153
contexts:
153154
- crowdsecurity/appsec_base

0 commit comments

Comments
 (0)