CVE-2026-140578

Anurag-cod4fun Voting-System adminlogin.php sql injection

Published Dec 1, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
A security flaw has been discovered in Anurag-cod4fun Voting-System up to 40d49f5728c5936dd5bef9c91ba76a0c67b395f6. This issue affects some unknown processing of the file login/adminlogin.php. The manipulation of the argument Password results in sql injection. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks. This product operates on a rolling release basis, ensuring continuous delivery. Consequently, there are no version details for either affected or updated releases. The patch is identified as 512281238ddbd93b72a8e6b8282ea50fb20123bc. It is best practice to apply a patch to resolve this issue. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

Analysis

AI-generated

Technical impact

A flaw in the login/adminlogin.php file allows the Password argument to be manipulated, enabling arbitrary SQL queries. This can expose or modify sensitive data and may lead to privilege escalation for an attacker. The vulnerability is classified under CWE-74 and CWE-89, indicating unsanitized input handling and SQL injection respectively. The impact is that an attacker with remote access to the voting system can retrieve, alter, or delete database records without authorization.

Affected Systems

The vulnerability affects the Anurag‑cod4fun Voting‑System. No specific version numbers are available because the product follows a rolling release model, but the flaw exists in the code up to commit 40d49f5728c5936dd5bef9c91ba76a0c67b395f6 and is fixed in the newer commit 512281238ddbd93b72a8e6b8282ea50fb20123bc. Users of any current, unpatched instance are potentially vulnerable.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity, while the EPSS score of < 1% suggests a low probability of public exploitation. The vulnerability is not listed in the CISA KEV catalog. Two auxiliary conditions are required: the user must be able to send a request to the adminlogin.php endpoint with a crafted Password parameter, and the application must still use concatenated SQL strings. Remote attackers can trigger the exploit without local privileges if the admin login page is exposed to the internet.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the published patch identified by commit 512281238ddbd93b72a8e6b8282ea50fb20123bc to the Voting‑System codebase.
  • If immediate patching is not possible, block external access to the adminlogin.php endpoint via firewall rules or IP whitelisting so that only trusted administrators can reach it.
  • Ensure that any remaining login handling uses parameterized SQL queries or adequate input sanitization to eliminate unsanitized user input before database interaction.

Generated by OpenCVE AI on December 2, 2026 at 21:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A security flaw has been discovered in Anurag-cod4fun Voting-System up to 40d49f5728c5936dd5bef9c91ba76a0c67b395f6. This issue affects some unknown processing of the file login/adminlogin.php. The manipulation of the argument Password results in sql injection. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks. This product operates on a rolling release basis, ensuring continuous delivery. Consequently, there are no version details for either affected or updated releases. The patch is identified as 512281238ddbd93b72a8e6b8282ea50fb20123bc. It is best practice to apply a patch to resolve this issue. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
Title Anurag-cod4fun Voting-System adminlogin.php sql injection
First Time appeared Anurag-cod4fun
Anurag-cod4fun voting-system
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:anurag-cod4fun:voting-system:*:*:*:*:*:*:*:*
Vendors & Products Anurag-cod4fun
Anurag-cod4fun voting-system
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Dec 1, 2026, 1:50 PM
Reserved
Dec 1, 2026, 6:11 AM
Status
Deferred
Published
Dec 1, 2026, 12:17 PM
Modified
Dec 1, 2026, 2:18 PM