Ngocuct0912 WP Load Gallery
WordPress WP Load Gallery Plugin <= 2.1.6 - Arbitrary File Upload vulnerability
Unrestricted Upload of File with Dangerous Type vulnerability in ngocuct0912 WP Load Gallery wp-load-gallery allows Upload a Web Shell to a Web Server.This issue affects WP Load Gallery: from n/a through <= 2.1.6.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 2.1.6
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 34 days after publication; not in CISA KEV. First PoC: Nxploited/CVE-2025-23942-poc (created 25 Feb 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Nxploited/CVE-2025-23942-poc | 25 Feb 2025 +34 d | 3 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /wp-admin/admin.php
- Query
page=wp-load-gallery- PoC User-Agent
Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0- Seen in
- 1 repo: Nxploited/CVE-2025-23942-poc
- Evidence
- Nxploited/CVE-2025-23942-poc/CVE-2025-23942.py:72
GET /wp-content/plugins/wp-load-gallery/readme.txt
- PoC User-Agent
Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0- Seen in
- 1 repo: Nxploited/CVE-2025-23942-poc
- Evidence
- Nxploited/CVE-2025-23942-poc/CVE-2025-23942.py:39
GET /wp-content/uploads/2025/02/{var}
- PoC User-Agent
Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0- Seen in
- 1 repo: Nxploited/CVE-2025-23942-poc
- Evidence
- Nxploited/CVE-2025-23942-poc/CVE-2025-23942.py:97
POST /wp-admin/admin-ajax.php
- Body markers
wplg_nonce=action=wpgallerywplg_gallery_id=205task=wplg_uploadinapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0- Seen in
- 1 repo: Nxploited/CVE-2025-23942-poc
- Evidence
- Nxploited/CVE-2025-23942-poc/CVE-2025-23942.py:91
POST /wp-login.php
- Body markers
log=pwd=rememberme=foreverwp-submit=Log+Ininapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0- Seen in
- 1 repo: Nxploited/CVE-2025-23942-poc
- Evidence
- Nxploited/CVE-2025-23942-poc/CVE-2025-23942.py:62
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wp-admin/admin\.php\?(?:.*&)?page=wp-load-gallery
(?i)^/wp-content/plugins/wp-load-gallery/readme\.txt(?:[?#].*)?$
(?i)^/wp-content/uploads/2025/02/[^/?#]*(?:[?#].*)?$
(?i)^/wp-admin/admin-ajax\.php(?:[?#].*)?$
(?i)^/wp-login\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-23942 ngocuct0912 WP Load Gallery exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-admin/admin.php"; http.uri; content:"page=wp-load-gallery"; reference:url,poc.griffinguard.io/cve/CVE-2025-23942; classtype:web-application-attack; sid:9659190; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-23942 ngocuct0912 WP Load Gallery exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/plugins/wp-load-gallery/readme.txt"; reference:url,poc.griffinguard.io/cve/CVE-2025-23942; classtype:web-application-attack; sid:9168704; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-23942 ngocuct0912 WP Load Gallery exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/uploads/2025/02/"; reference:url,poc.griffinguard.io/cve/CVE-2025-23942; classtype:web-application-attack; sid:9042256; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-23942 ngocuct0912 WP Load Gallery exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-admin/admin-ajax.php"; http.request_body; content:"wplg_nonce="; http.request_body; content:"action=wpgallery"; http.request_body; content:"wplg_gallery_id=205"; http.request_body; content:"task=wplg_upload"; reference:url,poc.griffinguard.io/cve/CVE-2025-23942; classtype:web-application-attack; sid:9673405; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-23942 ngocuct0912 WP Load Gallery exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-login.php"; http.request_body; content:"log="; http.request_body; content:"pwd="; http.request_body; content:"rememberme=forever"; http.request_body; content:"wp-submit=Log+In"; reference:url,poc.griffinguard.io/cve/CVE-2025-23942; classtype:web-application-attack; sid:9779058; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: ngocuct0912 WP Load Gallery exploit attempt (CVE-2025-23942)
id: gg-pocmon-cve-2025-23942-9659190
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-23942. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-23942
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-admin/admin.php'
cs-uri-query|contains|all:
- 'page=wp-load-gallery'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.23942
title: ngocuct0912 WP Load Gallery exploit attempt (CVE-2025-23942)
id: gg-pocmon-cve-2025-23942-9168704
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-23942. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-23942
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/plugins/wp-load-gallery/readme.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.23942
title: ngocuct0912 WP Load Gallery exploit attempt (CVE-2025-23942)
id: gg-pocmon-cve-2025-23942-9042256
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-23942. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-23942
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/uploads/2025/02/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.23942
title: ngocuct0912 WP Load Gallery exploit attempt (CVE-2025-23942)
id: gg-pocmon-cve-2025-23942-9673405
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-23942. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-23942
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-admin/admin-ajax.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.23942
title: ngocuct0912 WP Load Gallery exploit attempt (CVE-2025-23942)
id: gg-pocmon-cve-2025-23942-9779058
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-23942. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-23942
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-login.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.23942