SourceCodester Farm Management System CVE-2025-11486
LOWAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid credentials
-
DeliveryAuthenticate to application
-
ExploitCraft SQL injection payload in Name parameter
-
ExecutionSubmit request to /buyNow.php
-
PersistExecute arbitrary SQL query
-
ImpactExfiltrate or modify data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Exploitation requires a valid authenticated user account on the Farm Management System - the CVSS vector PR:L (PR=L) mandates authenticated access. The vulnerability is triggered by sending a crafted HTTP request to /buyNow.php with a malicious SQL injection payload in the Name parameter. No special configuration or non-default settings are documented as prerequisites; the vulnerability affects the default application logic. Attackers must first obtain valid credentials, either through credential compromise, brute force (if weak credentials are in use), or insider access. The attack does not require elevated privileges beyond a standard user account. The vulnerability is limited to the /buyNow.php endpoint; other application endpoints may not be affected. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L) indicates network-exploitable SQL injection with low attack complexity and no user interaction required, but critically limited by PR:L (authenticated user required). The CVSS score of 2.1 reflects constrained impact - only Low for confidentiality, integrity, and availability. EPSS score of 0.03% (8th percentile) signals very low statistical likelihood of exploitation in the wild, contradicting the 'publicly available' POC status. This disconnect suggests the vulnerability affects a niche, self-hosted product with minimal attacker interest despite technical exploitability. The authentication requirement (PR:L) is a significant real-world barrier - casual attackers cannot exploit this without valid credentials. The combination of low EPSS, limited impact scope, and authentication dependency indicates this is lower priority than high-CVSS vulnerabilities without access controls, suitable for standard patching cycles rather than emergency response. However, insider threats (disgruntled users or staff with legitimate credentials) could leverage this to exfiltrate farm data. |
| Exploit ScenarioDerived | An authenticated user of the Farm Management System navigates to /buyNow.php and crafts a malicious HTTP request with a SQL injection payload in the Name parameter, such as Name=product' UNION SELECT username,password FROM users--. The unsanitized parameter is concatenated into a SQL query, allowing the attacker to execute arbitrary SQL and extract sensitive data such as user credentials, financial records, or farm inventory information. The publicly available exploit code at https://github.com/DrNbnonono/CVE/issues/10 provides a proof-of-concept demonstrating this attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
SQL injection in SourceCodester Farm Management System 1.0 allows authenticated remote attackers to manipulate the Name parameter in /buyNow.php, enabling data exfiltration or modification with limited impact. The vulnerability is exploitable via network access without elevated privileges, publicly available exploit code exists, but real-world risk remains low due to authentication requirement and constrained scope (limited confidentiality, integrity, and availability impact per CVSS4.0 scoring).
RemediationAI
No vendor-released patch identified at time of analysis. Implement immediate compensating controls: (1) Apply input validation to the Name parameter in /buyNow.php using a whitelist of allowed characters and rejecting SQL metacharacters (semicolon, single quote, double quote, dash-dash, forward slash); (2) Implement parameterized SQL queries (prepared statements) in PHP using mysqli or PDO with bound parameters to prevent SQL injection; (3) Restrict database user account permissions so the application account used by /buyNow.php has SELECT-only access where possible, limiting damage from successful injection; (4) Disable the /buyNow.php endpoint entirely if not actively in use, or restrict access via IP whitelist to authorized users only; (5) Monitor database logs for suspicious SQL patterns such as UNION-based queries or comment sequences. Contact SourceCodester vendor at https://www.sourcecodester.com/ for patch availability or to request security fixes, as this appears to be legacy software without active maintenance.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in improper input validation of the Name parameter within /buyNow.php, a PHP-based endpoint in the Farm Management System web application. CWE-74 (Improper Neutralization of Special Elements in Output) indicates the application fails to sanitize or parameterize SQL queries, allowing attackers to inject arbitrary SQL commands. The affected product is identified by CPE cpe:2.3:a:janobe:farm_management_system:1.0:*:*:*:*:*:*:*, suggesting the vulnerability is specific to version 1.0 of the janobe vendor's Farm Management System. The weakness is typical of legacy PHP applications that concatenate user input directly into SQL queries without prepared statements or input escaping.
Know when Farm Management System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was identified in SourceCodester Farm Management System 1.0. Affected by this vulnerability is an unknown functionality of the file /buyNow.php. Such manipulation of the argument Name leads to sql injection. The attack can be launched remotely. The exploit is publicly available and might be used.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)CVE.org
More in Farm Management System
View allA vulnerability was found in itsourcecode Farm Management System 1.0. Rated medium severity (CVSS 6.9), this vulnerabili
A security flaw has been discovered in Campcodes Farm Management System 1.0. Rated medium severity (CVSS 5.5), this vuln
A vulnerability was determined in SourceCodester Farm Management System 1.0. Rated medium severity (CVSS 5.5), this vuln
A security flaw has been discovered in Campcodes Farm Management System 1.0. Rated medium severity (CVSS 6.9), this vuln
A vulnerability was found in Campcodes Farm Management System 1.0. Rated medium severity (CVSS 6.9), this vulnerability
A weakness has been identified in Campcodes Farm Management System 1.0. Rated medium severity (CVSS 6.9), this vulnerabi
A vulnerability has been found in itsourcecode Farm Management System 1.0 and classified as critical. Rated medium sever
A vulnerability classified as critical was found in itsourcecode Farm Management System 1.0. Rated medium severity (CVSS
A vulnerability was found in itsourcecode Farm Management System 1.0. Rated medium severity (CVSS 5.3), this vulnerabili
A weakness has been identified in SourceCodester Farm Management System 1.0. Rated medium severity (CVSS 5.3), this vuln
SQL injection in SourceCodester Farm Management System 1.0 allows authenticated remote attackers to manipulate the Type
SQL injection in SourceCodester Farm Management System 1.0 allows authenticated remote attackers to manipulate the pid p
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB