CVE-2022-40347
Description
SQL Injection vulnerability in Intern Record System version 1.0 in /intern/controller.php in 'phone', 'email', 'deptType' and 'name' parameters, allows attackers to execute arbitrary code and gain sensitive information.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
SQL injection in Intern Record System 1.0 allows unauthenticated attackers to execute arbitrary SQL and potentially gain code execution via controller.php.
Vulnerability
Intern Record System version 1.0 is vulnerable to SQL injection in the /intern/controller.php endpoint through the phone, email, deptType, and name parameters [1]. The application fails to sanitize user-supplied input, allowing attackers to inject arbitrary SQL commands. The vulnerability is present in the POST request handling and does not require authentication.
Exploitation
An unauthenticated attacker can exploit this by sending a crafted POST request to /intern/controller.php with malicious payloads in any of the vulnerable parameters. For example, using sqlmap with the --data option and specifying the parameter deptType or email can automate the extraction of data from the department database [1]. The PoC demonstrates that the attack is straightforward and does not require any special privileges.
Impact
Successful exploitation allows the attacker to read, modify, or delete database contents. The description further states that arbitrary code execution is possible [1], likely through features such as INTO OUTFILE or stored procedures in MySQL. This could lead to full compromise of the application and underlying server.
Mitigation
No official patch or updated version has been released by the vendor as of the publication date [1]. The application appears to be a static project from code-projects.org and may no longer be maintained. Developers should migrate to parameterized queries or prepared statements to prevent SQL injection. Until a fix is available, the application should not be exposed to untrusted networks.
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- Intern Record System/Intern Record Systemdescription
- Range: = 1.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3News mentions
0No linked articles in our index yet.