Code-projects Voting System
code-projects Voting System positions_add.php sql injection
A vulnerability was found in code-projects Voting System 1.0 and classified as critical. Affected by this issue is some unknown functionality of the file /admin/positions_add.php. The manipulation of the argument description leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- 1.0
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 82 days after publication; not in CISA KEV. First PoC: rundas-r00t/CVE-2025-7558-PoC (created 3 Oct 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| rundas-r00t/CVE-2025-7558-PoC | 3 Oct 2025 +82 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| PoC Index | https://github.com/i-Corner/cve/issues/6 | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /admin/positions_add.php
- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9Accept-Language: zh-CN,zh;q=0.9Cache-Control: max-age=0Cookie: PHPSESSID=7kic1kdkb9ltbk61lo30n1mmbcCookie: PHPSESSID={var}Origin: http://votesystemReferer: http://votesystem/admin/positions.phpUpgrade-Insecure-Requests: 1- Body markers
description=Petermax_vote=10add=inapplication/x-www-form-urlencoded- Ports
- 80
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.5249.119 Safari/537.36- Seen in
- 1 repo: rundas-r00t/CVE-2025-7558-PoC
- Evidence
- rundas-r00t/CVE-2025-7558-PoC/PoC.txt:1 rundas-r00t/CVE-2025-7558-PoC/PoC.txt:16
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/admin/positions_add\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2025-7558 code-projects Voting System exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/admin/positions_add.php"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/avif,image/webp,image/apng,*/*|3b|q=0.8,application/signed-exchange|3b|v=b3|3b|q=0.9"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.9"; nocase; http.header; content:"Cache-Control: max-age=0"; nocase; http.header; content:"Cookie: PHPSESSID=7kic1kdkb9ltbk61lo30n1mmbc"; nocase; http.header; content:"Cookie: PHPSESSID="; nocase; http.header; content:"Origin: http://votesystem"; nocase; http.header; content:"Referer: http://votesystem/admin/positions.php"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"description=Peter"; http.request_body; content:"max_vote=10"; http.request_body; content:"add="; reference:url,poc.griffinguard.io/cve/CVE-2025-7558; classtype:web-application-attack; sid:9634282; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: code-projects Voting System exploit attempt (CVE-2025-7558)
id: gg-pocmon-cve-2025-7558-9634282
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-7558. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-7558
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/admin/positions_add.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.7558