Skip to content

Commit 7a12b5d

Browse files
Merge PR #6155 from @swachchhanda000 - Add WordPress Wp2shell Detections
new: WordPress Wp2shell REST Batch Endpoint Exploitation new: WordPress Wp2shell Webshell Plugin Access new: WordPress Wp2shell Exploitation Tool User-Agent
1 parent bc43378 commit 7a12b5d

3 files changed

Lines changed: 93 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
title: WordPress Wp2shell REST Batch Endpoint Exploitation
2+
id: b8d5f301-2c49-4e6d-af83-4a5b6c7d8e9f
3+
status: experimental
4+
description: |
5+
Detects exploitation attempts against the WordPress REST batch endpoint (CVE-2026-63030,
6+
CVE-2026-60137) using the wp2shell PoC tool. The tool sends POST requests to the batch endpoint
7+
via the ?rest_route=/batch/v1 query parameter, covering all attack phases from initial probe
8+
through SQL injection and pre-auth admin creation. A 207 response confirms the endpoint is
9+
active on the target.
10+
references:
11+
- https://github.com/Icex0/wp2shell-poc
12+
- https://slcyber.io/research-center/wp2shell-pre-authentication-rce-in-wordpress-core/
13+
- https://wordpress.org/news/2026/07/wordpress-7-0-2-release/
14+
author: Swachchhanda Shrawan Poudel (Nextron Systems)
15+
date: 2026-07-19
16+
tags:
17+
- attack.initial-access
18+
- attack.t1190
19+
- detection.emerging-threats
20+
- cve.2026-63030
21+
- cve.2026-60137
22+
logsource:
23+
category: webserver
24+
detection:
25+
selection:
26+
cs-method: 'POST'
27+
sc-status: 207
28+
cs-uri-query|contains:
29+
- 'rest_route=/batch/v1'
30+
- 'rest_route=%2Fbatch%2Fv1'
31+
condition: selection
32+
falsepositives:
33+
- WordPress CLI scripts or maintenance tooling invoking the batch endpoint via query parameter
34+
level: medium
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
title: WordPress Wp2shell Webshell Plugin Access
2+
id: c9e6f412-3d50-4f7e-bf94-5b6c7d8e9f0a
3+
status: experimental
4+
description: |
5+
Detects post-exploitation access to the wp2shell webshell plugin dropped after successful
6+
exploitation of CVE-2026-63030 and CVE-2026-60137. After the pre-auth SQLi-to-admin bridge is established,
7+
the attacker can upload a malicious plugin (wp2shell) to the target WordPress instance.
8+
At this phase, the attacker accesses the webshell for command execution and persistence.
9+
references:
10+
- https://github.com/Icex0/wp2shell-poc
11+
- https://slcyber.io/research-center/wp2shell-pre-authentication-rce-in-wordpress-core/
12+
- https://wordpress.org/news/2026/07/wordpress-7-0-2-release/
13+
author: Swachchhanda Shrawan Poudel (Nextron Systems)
14+
date: 2026-07-19
15+
tags:
16+
- attack.execution
17+
- attack.persistence
18+
- attack.t1505.003
19+
- cve.2026-63030
20+
- cve.2026-60137
21+
- detection.emerging-threats
22+
logsource:
23+
category: webserver
24+
detection:
25+
selection:
26+
cs-uri-stem|contains: '/wp-content/plugins/wp2shell_'
27+
filter_optional_null_query:
28+
cs-uri-query: null
29+
condition: selection and not 1 of filter_optional_*
30+
falsepositives:
31+
- Unlikely
32+
level: critical
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
title: WordPress Wp2shell Exploitation Tool User-Agent
2+
id: a7c4e2f9-1b38-4d5c-9e72-3f4a5b6c7d8e
3+
status: experimental
4+
description: |
5+
Detects the hardcoded "wp2shell" User-Agent string used by the wp2shell
6+
PoC tool during all phases of CVE-2026-63030 and CVE-2026-60137 exploitation.
7+
references:
8+
- https://github.com/Icex0/wp2shell-poc
9+
- https://slcyber.io/research-center/wp2shell-pre-authentication-rce-in-wordpress-core/
10+
- https://wordpress.org/news/2026/07/wordpress-7-0-2-release/
11+
author: Swachchhanda Shrawan Poudel (Nextron Systems)
12+
date: 2026-07-19
13+
tags:
14+
- attack.initial-access
15+
- attack.t1190
16+
- cve.2026-63030
17+
- cve.2026-60137
18+
- detection.emerging-threats
19+
logsource:
20+
category: webserver
21+
detection:
22+
selection:
23+
cs-user-agent: 'wp2shell'
24+
condition: selection
25+
falsepositives:
26+
- Unlikely
27+
level: high

0 commit comments

Comments
 (0)