CVE-2022-43290
Description
Canteen Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /youthappam/editcategory.php.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Canteen Management System v1.0 is vulnerable to SQL injection in the id parameter of editcategory.php, allowing authenticated attackers to extract database contents.
Vulnerability
Canteen Management System v1.0, built using PHP 8.1, contains a SQL injection vulnerability in the id parameter of the /youthappam/editcategory.php endpoint. The application fails to sanitize user input before using it in a SQL query, allowing an attacker to inject arbitrary SQL commands. The vulnerability is present in version 1.0 as distributed by the vendor [1].
Exploitation
An attacker must first authenticate to the application; the reference provides super admin credentials (mayuri.infospace@gmail.com / rootadmin). Once authenticated, the attacker sends a crafted GET request to /youthappam/editcategory.php with a malicious id parameter. For example, the payload id=-1' union select 1,database(),3,4--+ extracts the database name. The request includes a valid session cookie and can be executed with standard HTTP tools [1].
Impact
Successful exploitation allows the attacker to read arbitrary data from the database, including other users' credentials, application configuration, and sensitive business data. The attacker can enumerate tables and columns, potentially leading to full database compromise. The impact is limited to data confidentiality and integrity; no remote code execution is demonstrated in the available references [1].
Mitigation
No official patch or fixed version has been released by the vendor as of the publication date. The application is no longer actively maintained, and users are advised to apply input validation and parameterized queries to the id parameter in /youthappam/editcategory.php as a workaround. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog [1].
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- Canteen Management System/Canteen Management Systemdescription
- Range: =1.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1News mentions
0No linked articles in our index yet.