CVE-2025-12615 Details
Description
A security vulnerability has been detected in PHPGurukul News Portal 1.0. The affected element is an unknown function of the file /onps/settings.py. Such manipulation of the argument SECRET_KEY leads to use of hard-coded cryptographic key . The attack may be performed from remote. The attack requires a high level of complexity. The exploitability is described as difficult. The exploit has been disclosed publicly and may be used.
A vulnerability exists in PHPGurukul News Portal version 1.0, specifically within the Django application. The issue arises from a hard-coded SECRET_KEY in the settings.py file, which is exposed in the source code and used for cryptographic operations. This vulnerability can be exploited remotely, without authentication, and allows attackers to forge session cookies, bypass CSRF protections, and potentially execute arbitrary code.
To address this vulnerability, it is crucial to remove the hard-coded SECRET_KEY, generate a new key, and store it in an environment variable. Additionally, all sessions should be invalidated, and users should be forced to reset their passwords.
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/Hard-coded%20Cryptographic%20Key.md | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/NishantKumar-CSE/News-Portal-Python-Django-Project/blob/main/Hard-coded%20Cryptographic%20Key.md | [email protected] | ExploitThird Party Advisory |
| https://phpgurukul.com/ | [email protected] | Product |
| https://vuldb.com/?ctiid.330909 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.330909 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.678625 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-320 | Key Management Errors | [email protected] |
| CWE-321 | Use of Hard-coded Cryptographic Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| phpgurukul news portal | 1.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Nov 10, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | New CVE Received | [email protected] |