CVE-2025-11487
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-10-08

Last updated on: 2026-04-29

Assigner: VulDB

Description
A security flaw has been discovered in SourceCodester Farm Management System 1.0. Affected by this issue is some unknown functionality of the file /uploadProduct.php. Performing manipulation of the argument Type results in sql injection. The attack may be initiated remotely. The exploit has been released to the public and may be exploited.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-10-08
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2025-10-08
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
janobe farm_management_system 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-11487 is a critical SQL injection vulnerability in the 'uploadProduct.php' file of SourceCodester Farm Management System 1.0. It occurs because the 'type' parameter is not properly validated or sanitized before being used in SQL queries. This allows attackers to inject malicious SQL code remotely without authentication, manipulating the database queries to access, modify, or delete data unauthorizedly. [1, 3, 4]


How can this vulnerability impact me? :

This vulnerability can lead to unauthorized database access, data leakage, data tampering, and potentially full system control by attackers. It can disrupt services, compromise confidentiality, integrity, and availability of the system, and cause severe threats to system security and business continuity. [1, 3, 4]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by testing the 'type' parameter in the /uploadProduct.php file for SQL injection. One approach is to use sqlmap, an automated tool for detecting SQL injection flaws, targeting the vulnerable parameter. For example, you can run a command like: sqlmap -u "http://target/uploadProduct.php" --data="type=Vegetable" --risk=3 --level=5 --batch to test injection. Additionally, manual testing can be done by injecting payloads such as: type=Vegetable' AND (SELECT 5421 FROM (SELECT(SLEEP(5)))xnuI) AND 'LdQh'='LdQh to observe time delays indicating injection. Network detection can also involve searching for unusual POST requests to uploadProduct.php with suspicious 'type' parameter values. [1, 3]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include: 1) Implement prepared statements with parameter binding in the uploadProduct.php code to separate SQL commands from user input, preventing injection. 2) Apply strict input validation and filtering on the 'type' parameter to ensure only expected values are accepted. 3) Minimize database user permissions by avoiding high-privilege accounts for routine database operations. 4) Conduct regular security audits to detect and fix vulnerabilities promptly. If possible, consider replacing the affected component with a more secure alternative. [1, 3, 4]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart