Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-105167 Overview
CVE-2026-105167 is a SQL injection vulnerability in the kishor-23 food-waste-management-system project. The flaw resides in admin/donate.php, where the location parameter is passed into a database query without proper sanitization. A remote attacker can manipulate this argument to inject arbitrary SQL statements. No authentication or user interaction is required to trigger the vulnerability. The exploit has been publicly disclosed, increasing the likelihood of opportunistic abuse. The project uses a rolling release model, so no fixed version identifiers are provided. According to the advisory, the maintainer was notified through an issue report but has not responded.
Critical Impact
Unauthenticated remote attackers can inject SQL into the location parameter of admin/donate.php, potentially exposing or modifying backend database contents.
Affected Products
- kishor-23 food-waste-management-system (rolling release)
- Affected commit range: 411989e3ecb82895e53dca7865f72145f03d7d93 / b3a70b2c492dc9904de5be1ad9389bd79b87f82c
- Vulnerable component: admin/donate.php
Discovery Timeline
- 2026-10-04 - CVE-2026-105167 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-105167
Vulnerability Analysis
The vulnerability is a classic SQL injection flaw [CWE-74] in a PHP-based web application. The admin/donate.php script accepts a location argument and concatenates it into a SQL query without parameterization or input validation. An attacker supplying crafted input can alter the query logic, enabling data extraction, authentication bypass, or record manipulation. Because the endpoint lives under the admin/ path, successful exploitation may provide direct access to administrative data. The attack is reachable over the network and does not require privileges or user interaction.
Root Cause
The root cause is improper neutralization of special elements in the location request parameter before it reaches the SQL interpreter. The code path does not use prepared statements, parameter binding, or allow-list input validation. Any single quote, comment token, or UNION clause submitted in the parameter becomes part of the executed query.
Attack Vector
An unauthenticated remote attacker sends an HTTP request to admin/donate.php with a crafted location value. Because the project is distributed as a rolling release with no documented authentication gating on the vulnerable path, exploitation requires only reachability to the deployed instance. The exploit has been publicly disclosed through the referenced VulDB Vulnerability Details and GitHub Issue Tracker.
No verified proof-of-concept code is reproduced here. Refer to the public advisory for technical specifics on the request payload.
Detection Methods for CVE-2026-105167
Indicators of Compromise
- HTTP requests to admin/donate.php containing SQL metacharacters such as single quotes, --, /*, UNION, SELECT, or SLEEP( in the location parameter.
- Web server access logs showing unusually long or URL-encoded values submitted to the location field.
- Database error messages or stack traces returned to clients following requests to admin/donate.php.
Detection Strategies
- Deploy web application firewall (WAF) signatures that flag SQL injection patterns on parameters submitted to admin/* paths.
- Enable verbose query logging on the backend database and alert on anomalous queries originating from the donation workflow.
- Perform authenticated and unauthenticated dynamic application security testing (DAST) against admin/donate.php focused on the location parameter.
Monitoring Recommendations
- Correlate web server logs with database audit logs to identify request-to-query chains that reach the donate table or related entities.
- Alert on repeated 500-series responses from admin/donate.php, which often indicate injection probing.
- Monitor outbound connections from the application host for unexpected data exfiltration following administrative endpoint access.
How to Mitigate CVE-2026-105167
Immediate Actions Required
- Restrict network access to the admin/ directory using IP allow-listing or VPN-only access until a fix is available.
- Place a WAF rule in blocking mode for SQL injection patterns targeting the location parameter of admin/donate.php.
- Review database user privileges and ensure the application account cannot execute DROP, GRANT, or administrative statements.
- Audit historical web and database logs for prior exploitation attempts against the vulnerable endpoint.
Patch Information
No vendor patch has been published. The project maintainer was notified via the GitHub Issue Tracker but has not responded at the time of CVE publication. Operators should apply source-level mitigations by rewriting the vulnerable query in admin/donate.php to use prepared statements with bound parameters, and by validating the location input against an allow-list of expected values. Monitor the GitHub Project Repository for updates.
Workarounds
- Remove or disable admin/donate.php if the donation administration workflow is not in active use.
- Introduce a reverse-proxy rule that strips or rejects requests whose location parameter contains SQL metacharacters.
- Enforce authentication and session validation on all files within the admin/ directory at the web server configuration layer.
# Example nginx configuration to restrict admin path and block suspicious payloads
location /admin/ {
allow 10.0.0.0/8;
deny all;
if ($args ~* "(union|select|sleep\(|--|/\*|')") {
return 403;
}
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/.htpasswd;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

