Ajitdas Flex QR Code Generator
Flex QR Code Generator <= 1.2.5 - Unauthenticated Arbitrary File Upload
The Flex QR Code Generator plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in thesave_qr_code_to_db() function in all versions up to, and including, 1.2.5. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 1.2.5
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 1 h before publication; not in CISA KEV. First PoC: Nxploited/CVE-2025-10041 (created 15 Oct 2025, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs · 1 pending
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Nxploited/CVE-2025-10041 | 15 Oct 2025 −1 h | 4 | PoC |
| Kai-One001/WordPress-Flex-QR-Code-Generator---CVE-2025-10041 | 17 Oct 2025 +2 d | 0 | PoC via PoC Index |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| AlloyRecon/CVE-2025-10041 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
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 2 PoC reposGET /wp-content/uploads/2025/10/AiErBuDe_10.php
- Query
cmd=id- Ports
- 8082
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36- Seen in
- 1 repo: Kai-One001/WordPress-Flex-QR-Code-Generator---CVE-2025-10041
- Evidence
- Kai-One001/WordPress-Flex-QR-Code-Generator---CVE-2025-10041/README.md:193
GET /wp-content/uploads/2025/10/webshell_9.php
- Ports
- 8082
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36- Seen in
- 1 repo: Kai-One001/WordPress-Flex-QR-Code-Generator---CVE-2025-10041
- Evidence
- Kai-One001/WordPress-Flex-QR-Code-Generator---CVE-2025-10041/README.md:118
POST /wp-admin/admin-ajax.php
- Query
action=flexqr_update_qr- Key headers
Cookie: wp_nonce=884957; test=1337- Body markers
------WebKitFormBoundaryABC123 Content-Disposition: form-data; name="qrData"------WebKitFormBoundaryABC123 Content-Disposition: form-data; name="action"inmultipart/form-data; boundary=----WebKitFormBoundaryABC123- Ports
- 8082
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36- Seen in
- 1 repo: Kai-One001/WordPress-Flex-QR-Code-Generator---CVE-2025-10041
- Evidence
- Kai-One001/WordPress-Flex-QR-Code-Generator---CVE-2025-10041/README.md:74 Kai-One001/WordPress-Flex-QR-Code-Generator---CVE-2025-10041/README.md:149
GET /wp-content/plugins/flex-qr-code-generator/readme.txt
- Key headers
Accept: */*Cookie: wp_nonce={var}; test={var}Referer: {var}- Seen in
- 1 repo: Nxploited/CVE-2025-10041
- Evidence
- Nxploited/CVE-2025-10041/CVE-2025-10041.py:50
POST /wp-content/plugins/flex-qr-code-generator/readme.txt
- Key headers
Accept: */*Cookie: wp_nonce={var}; test={var}Referer: {var}- Body markers
action=flexqr_save_qrqrData=isTrackingEnabled=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: Nxploited/CVE-2025-10041
- Evidence
- Nxploited/CVE-2025-10041/CVE-2025-10041.py:99
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wp-content/uploads/2025/10/AiErBuDe_10\.php\?(?:.*&)?cmd=id
(?i)^/wp-content/uploads/2025/10/webshell_9\.php(?:[?#].*)?$
(?i)^/wp-admin/admin-ajax\.php\?(?:.*&)?action=flexqr_update_qr
(?i)^/wp-content/plugins/flex-qr-code-generator/readme\.txt(?:[?#].*)?$
(?i)^/wp-content/plugins/flex-qr-code-generator/readme\.txt(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8082] (msg:"GG PoC-Monitor CVE-2025-10041 ajitdas Flex QR Code Generator exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/uploads/2025/10/AiErBuDe_10.php"; http.uri; content:"cmd=id"; reference:url,poc.griffinguard.io/cve/CVE-2025-10041; classtype:web-application-attack; sid:9637037; rev:1;)
alert http any any -> $HOME_NET [8082] (msg:"GG PoC-Monitor CVE-2025-10041 ajitdas Flex QR Code Generator exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/uploads/2025/10/webshell_9.php"; reference:url,poc.griffinguard.io/cve/CVE-2025-10041; classtype:web-application-attack; sid:9180712; rev:1;)
alert http any any -> $HOME_NET [8082] (msg:"GG PoC-Monitor CVE-2025-10041 ajitdas Flex QR Code Generator exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-admin/admin-ajax.php"; http.uri; content:"action=flexqr_update_qr"; http.header; content:"Cookie: wp_nonce=884957|3b| test=1337"; nocase; http.request_body; content:"------WebKitFormBoundaryABC123 Content-Disposition: form-data|3b| name=|22|qrData|22|"; http.request_body; content:"------WebKitFormBoundaryABC123 Content-Disposition: form-data|3b| name=|22|action|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-10041; classtype:web-application-attack; sid:9831729; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-10041 ajitdas Flex QR Code Generator exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/plugins/flex-qr-code-generator/readme.txt"; http.header; content:"Accept: */*"; nocase; http.header; content:"Cookie: wp_nonce="; nocase; http.header_names; content:"Referer"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-10041; classtype:web-application-attack; sid:9847024; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-10041 ajitdas Flex QR Code Generator exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-content/plugins/flex-qr-code-generator/readme.txt"; http.header; content:"Accept: */*"; nocase; http.header; content:"Cookie: wp_nonce="; nocase; http.header_names; content:"Referer"; nocase; http.request_body; content:"action=flexqr_save_qr"; http.request_body; content:"qrData="; http.request_body; content:"isTrackingEnabled="; reference:url,poc.griffinguard.io/cve/CVE-2025-10041; classtype:web-application-attack; sid:9332154; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: ajitdas Flex QR Code Generator exploit attempt (CVE-2025-10041)
id: gg-pocmon-cve-2025-10041-9637037
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-10041. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-10041
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/uploads/2025/10/AiErBuDe_10.php'
cs-uri-query|contains|all:
- 'cmd=id'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.10041
title: ajitdas Flex QR Code Generator exploit attempt (CVE-2025-10041)
id: gg-pocmon-cve-2025-10041-9180712
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-10041. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-10041
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/uploads/2025/10/webshell_9.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.10041
title: ajitdas Flex QR Code Generator exploit attempt (CVE-2025-10041)
id: gg-pocmon-cve-2025-10041-9831729
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-10041. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-10041
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-admin/admin-ajax.php'
cs-uri-query|contains|all:
- 'action=flexqr_update_qr'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.10041
title: ajitdas Flex QR Code Generator exploit attempt (CVE-2025-10041)
id: gg-pocmon-cve-2025-10041-9847024
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-10041. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-10041
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/plugins/flex-qr-code-generator/readme.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.10041
title: ajitdas Flex QR Code Generator exploit attempt (CVE-2025-10041)
id: gg-pocmon-cve-2025-10041-9332154
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-10041. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-10041
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-content/plugins/flex-qr-code-generator/readme.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.10041