CVE-2025-12616 Details
Description
A vulnerability was detected in PHPGurukul News Portal 1.0. The impacted element is an unknown function of the file /onps/settings.py. Performing a manipulation results in insertion of sensitive information into debugging code. It is possible to initiate the attack remotely. The attack's complexity is rated as high. The exploitability is regarded as difficult. The exploit is now public and may be used.
A vulnerability exists in PHPGurukul News Portal version 1.0, specifically within the Django application. The issue arises from the DEBUG mode being enabled in the production settings file, which should only be active during development. This misconfiguration allows the application to generate detailed error pages that expose sensitive information, including full Python stack traces, file paths, environment variables, and database details. The vulnerability can be exploited remotely by triggering an error, such as through malformed input, making it low-effort but high-impact.
To address this vulnerability, immediately disable DEBUG mode in the production settings file and configure the ALLOWED_HOSTS setting. Additionally, set up custom error pages and ensure proper logging of error details.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 3, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/NishantKumar-CSE/News-Portal-Python-Django-Project/blob/main/Information%20Disclosure%20via%20Debug%20Mode.md | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/NishantKumar-CSE/News-Portal-Python-Django-Project/blob/main/Information%20Disclosure%20via%20Debug%20Mode.md | [email protected] | ExploitThird Party Advisory |
| https://phpgurukul.com/ | [email protected] | Product |
| https://vuldb.com/?ctiid.330910 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.330910 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.678649 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
| CWE-215 | Insertion of Sensitive Information Into Debugging Code | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| phpgurukul news portal | 1.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 18, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Feb 24, 2026 | CVE Modified | [email protected] |
| Nov 5, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | New CVE Received | [email protected] |