Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .appsec-tests/vpatch-CVE-2022-0434/CVE-2022-0434.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## autogenerated on 2025-11-26 15:04:42
id: CVE-2022-0434
info:
name: CVE-2022-0434
author: crowdsec
severity: info
description: CVE-2022-0434 testing
tags: appsec-testing
http:
- raw:
- |
GET /?rest_route=/pvc/v1/increase/1&post_ids=0)%20union%20select%20md5(999999999),null,null%20--%20g HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers:
- type: status
status:
- 403
5 changes: 5 additions & 0 deletions .appsec-tests/vpatch-CVE-2022-0434/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## autogenerated on 2025-11-26 15:04:42
appsec-rules:
- ./appsec-rules/crowdsecurity/base-config.yaml
- ./appsec-rules/crowdsecurity/vpatch-CVE-2022-0434.yaml
nuclei_template: CVE-2022-0434.yaml
35 changes: 35 additions & 0 deletions appsec-rules/crowdsecurity/vpatch-CVE-2022-0434.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
## autogenerated on 2025-11-26 15:04:42
name: crowdsecurity/vpatch-CVE-2022-0434
description: 'Detects SQL injection in WordPress Page Views Count plugin via post_ids parameter in REST endpoint.'
rules:
- and:
- zones:
- URI
transform:
- lowercase
- urldecode
match:
type: contains
value: '/?rest_route=/pvc/v1/increase/'
- zones:
- ARGS
variables:
- post_ids
transform:
- lowercase
- urldecode
match:
type: contains
value: ') union select '

labels:
type: exploit
service: http
confidence: 3
spoofable: 0
behavior: 'http:exploit'
label: 'WordPress Page Views Count - SQLI'
classification:
- cve.CVE-2022-0434
- attack.T1190
- cwe.CWE-89
1 change: 1 addition & 0 deletions collections/crowdsecurity/appsec-virtual-patching.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ appsec-rules:
- crowdsecurity/vpatch-CVE-2020-8656
- crowdsecurity/vpatch-CVE-2025-27222
- crowdsecurity/vpatch-CVE-2025-64446
- crowdsecurity/vpatch-CVE-2022-0434
- crowdsecurity/vpatch-CVE-2020-10987
- crowdsecurity/vpatch-CVE-2025-55182
- crowdsecurity/vpatch-CVE-2024-6235
Expand Down
Loading