CVE-2024-50766: SourceCodester Survey Application System · SQL Injection
Source CVE Database V5
Not known to be exploited · CVSS 9.8 Critical.
Data as of 26 Oct 2026, 11:07 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 7 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
To mitigate CVE-2024-50766, organizations should immediately review and update the takeSurvey.php script to implement proper input validation and sanitization for the id parameter. The most effective mitigation is to refactor the code to use prepared statements with parameterized queries, which prevent SQL injection by separating code from data. If source code modification is not immediately possible, consider deploying a Web Application Firewall (WAF) with rules to detect and block SQL injection attempts targeting the id parameter. Restrict database user permissions to the minimum necessary to limit the impact of any successful injection. Monitor logs for suspicious query patterns or repeated access attempts to the vulnerable endpoint. Additionally, conduct a thorough security audit of all input handling in the application to identify and remediate similar injection flaws. Organizations should also stay alert for any official patches or updates from the vendor and apply them promptly once available.
Description
SourceCodester Survey Application System 1.0 is vulnerable to SQL Injection in takeSurvey.php via the id parameter.