CVE-2025-6331: PHPGurukul Directory Management System · SQL Injection
Affects PHPGurukul Directory Management SystemSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:PExploitation evidence
Disclosed: evidence found.
CVE published 20 Jun 2025
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
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PHPGurukul Directory Management System | Affected
| Fixed in– |
AI-suggested
Immediately restrict access to the /admin/search-directory.php endpoint by implementing network-level controls such as IP whitelisting or VPN access to limit exposure to trusted administrators only.
Apply input validation and sanitization on the 'searchdata' parameter to prevent injection of malicious SQL code. Use parameterized queries or prepared statements in the application code.
Monitor web server and database logs for unusual or suspicious query patterns targeting the search-directory functionality to detect potential exploitation attempts.
If possible, disable or remove the vulnerable search functionality until a vendor patch or update is available.
Conduct a thorough security review of all input handling in the application to identify and remediate similar injection risks.
Implement web application firewall (WAF) rules specifically designed to detect and block SQL injection attempts targeting this parameter and endpoint.
Ensure database user accounts used by the application have the least privileges necessary to limit the impact of any successful injection.
Regularly back up directory data and test restoration procedures to minimize downtime and data loss in case of exploitation.
Description
A vulnerability classified as critical was found in PHPGurukul Directory Management System 1.0. Affected by this vulnerability is an unknown functionality of the file /admin/search-directory.php. The manipulation of the argument searchdata leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.