CVE-2025-9833
7.3SourceCodester · Online Farm Management System
A SQL injection vulnerability in the SourceCodester Online Farm Management System 1.0 allows remote, unauthenticated attackers to manipulate the uname argument in login.php to execute malicious queries.
Executive summary
A critical SQL injection vulnerability in SourceCodester Online Farm Management System 1.0 permits unauthenticated remote attackers to compromise database integrity.
Vulnerability
This vulnerability is a SQL injection (CWE-89) flaw located within the /Login/login.php file. An unauthenticated attacker can exploit this by injecting malicious SQL commands into the uname parameter, which is processed without sufficient sanitization.
Business impact
Successful exploitation of this vulnerability allows unauthorized access to the underlying database, potentially leading to the exposure of sensitive user credentials and application data. Given the CVSS score of 7.3, this flaw poses a significant risk to the confidentiality and integrity of the system, and it could serve as a precursor to further unauthorized system access or data exfiltration.
Remediation
Immediate Action: As no official vendor patch is currently available, administrators should restrict network access to the application or deactivate the affected login module until a security update is released.
Proactive Monitoring: Review web server access logs for anomalous patterns in POST or GET requests directed at /Login/login.php, specifically searching for SQL syntax characters such as single quotes, semicolons, or comment indicators.
Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to detect and block common SQL injection payloads targeting the uname parameter.
Exploitation status
Public Exploit Available: Yes, a public proof-of-concept exists as documented in the GitHub issue referenced in the vulnerability report.
Analyst recommendation
The presence of a public proof-of-concept combined with the lack of authentication requirements makes this an urgent security concern. Organizations utilizing this software should prioritize network-level mitigations and monitor for any signs of exploitation while awaiting a formal patch from the vendor.
More SourceCodester CVEs
Sources
Originally found and disclosed by quchunyi1 (VulDB User), per the CVE Program record.
- VDB-322180 | SourceCodester Online Farm Management System login.php sql injection Vulnerability database entry
- VDB-322180 | CTI Indicators (IOB, IOC, TTP, IOA)
- Submit #641720 | SourceCodester Online Farm Management System in PHP/MySQL Project 1.0 SQL Injection Third-party advisory
- Exploit / PoC
- sourcecodester.com