CVE-2025-5860
BaseFortify
Publication date: 2025-06-09
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| phpgurukul | maid_hiring_management_system | 1.0 |
Helpful Resources
Exploitability
| 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?
This vulnerability is a critical SQL injection flaw in the PHPGurukul Maid Hiring Management System version 1.0. It exists in the /mhms/admin/search-booking-request.php file, specifically in the 'searchdata' parameter, which does not properly validate or sanitize user input. This allows attackers to inject malicious SQL queries remotely, potentially gaining unauthorized access to the database and manipulating data. [1, 2]
How can this vulnerability impact me? :
Exploitation of this vulnerability can lead to unauthorized retrieval, modification, or deletion of sensitive data stored in the database. Attackers can perform data leakage, data manipulation, and potentially achieve full system compromise without authentication. This can compromise data integrity, confidentiality, and availability, leading to service disruption and loss of trust. [1, 2]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing the "searchdata" parameter in the /mhms/admin/search-booking-request.php file for SQL injection. Tools like sqlmap can be used to confirm the vulnerability with advanced options targeting MySQL databases. Example payloads for manual testing include boolean-based blind SQL injection, stacked queries, time-based blind SQL injection using the MySQL SLEEP function, and UNION-based queries. Example commands using sqlmap might be: sqlmap -u "http://target/mhms/admin/search-booking-request.php" --data="searchdata=527527" --dbms=mysql --technique=BEUST --level=5 --risk=3 [2]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include: 1) Using prepared statements with parameter binding to separate SQL code from user input, preventing injection; 2) Implementing strict input validation and filtering to ensure inputs conform to expected formats; 3) Limiting database user permissions to the minimum necessary, avoiding use of high-privilege accounts for routine operations. These measures help secure the system, maintain data integrity, and prevent exploitation. [2]