Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessFingerprint SourceCodester LMS instance
-
DeliveryRetrieve or read db.php credential file
-
ExploitExtract hard-coded database username and password
-
ExecutionAuthenticate directly to database
-
ImpactRead or modify application data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Credential externalization
MITRE ATT&CK
2 techniques across 2 tactics: Persistence, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The hard-coded credentials reside in db.php, a PHP file included by the application's backend. Exploitation requires either: (1) the web server is misconfigured to serve the raw PHP source of db.php rather than executing it (uncommon but possible on misconfigured servers), or (2) a secondary vulnerability - such as the SQL injection documented in the same GitHub report - allows reading arbitrary files from the filesystem, or (3) the attacker has access to the application's source code through another channel (e.g., version control exposure, backup file exposure). Once credentials are obtained, the database must be reachable from the attacker's network position (direct TCP access or through the application). Exploitation is further limited to installations running version 1.0 of this specific SourceCodester product; non-default database network exposure would be required for direct database attacks from external networks. |
| Impact | The CVSS 4.0 base score of 6.9 captures a moderate but tangible risk: low-complexity network exploitation with no authentication requirement, yielding limited confidentiality, integrity, and availability impact across the vulnerable system. EPSS data was not provided, but the existence of a public exploit - documented in a GitHub vulnerability report alongside an SQL injection finding for the same product - meaningfully raises the likelihood of opportunistic exploitation. Even a mid-sized municipal IT team in sopot running this LMS on a shared educational server should treat this as urgent, since database credential exposure can cascade into broader compromise if the database is accessible from the network or the same credentials are reused elsewhere. The 'Authentication Bypass' framing in the tags overstates the immediate mechanism; the true entry point is credential disclosure (CWE-798), with authentication bypass being a downstream consequence. No CISA KEV listing was identified, and no vendor patch has been announced, leaving organizations with only compensating controls. The practical impact is bounded by the product's limited deployment footprint - SourceCodester releases are predominantly used in academic or student-project contexts rather than enterprise environments. |
| Exploit ScenarioDerived | An attacker identifies a SourceCodester LMS instance via web search or fingerprinting, then retrieves db.php directly via HTTP or through a secondary file-read vulnerability to extract the plaintext database credentials. With those credentials, the attacker connects to the database server directly (if exposed to the network) or uses the credentials to escalate within the application, modifying exam records or extracting student PII. A public PoC report on GitHub documents the credential location and exploitation path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 07, 2026
Hard-coded database credentials embedded in db.php of SourceCodester Syllabus-Aligned Learning Management & Examination System 1.0 allow unauthenticated remote attackers to obtain and reuse valid database credentials without any prior authentication. The credentials, baked directly into the PHP source file, are exposed to any party who can read or retrieve that file over the network. Publicly available exploit code has been published per the VulDB submission and a GitHub vulnerability report covering the same product, elevating this beyond a theoretical risk.
RemediationAI
No vendor-released patch has been identified at the time of analysis. The primary recommended remediation is to remove the hard-coded credentials from db.php immediately and replace them with credentials loaded from an environment variable or a configuration file stored outside the web root with filesystem-level access restrictions. Administrators should rotate any database credentials currently embedded in db.php, since they must be considered compromised if the file has been externally accessible. As a compensating control, the web server (Apache or nginx) should be configured to deny direct HTTP access to db.php and other PHP configuration files via a deny-from-all directive or equivalent rewrite rule - note this does not address file-read vulnerabilities that bypass the web server entirely. The database account used by the application should be restricted with least-privilege grants (SELECT/INSERT/UPDATE on the application schema only, no FILE or SUPER privileges) to limit the blast radius of credential theft. The VulDB report is available at https://vuldb.com/vuln/399437 and the exploit documentation at https://github.com/hackliu/Vulnerability-Reports/blob/master/Syllabus%20Aligned%20Learning%20Management%20Examination%20System/VULN-03-SQL-Injection-Hardcoded-Credentials.md.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected product is a PHP-based learning management and examination platform distributed by SourceCodester (cpe:2.3:a:sourcecodester:syllabus-aligned_learning_management_&_examination_system:*). CWE-798 (Use of Hard-coded Credentials) describes the root cause: the application stores database connection credentials - username and password - as static plaintext literals inside db.php rather than reading them from a protected environment variable or configuration store outside the web root. If the web server misconfiguration, a directory traversal, or a file-read endpoint exposes db.php content, the attacker receives working database credentials directly. The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N reflects that no prior access or interaction is required to exploit this once a path to the credential disclosure is available.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-accessible with no auth required; limited C/I/A impact consistent with credential disclosure and partial data access, not full system compromise.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A flaw has been found in SourceCodester Syllabus-Aligned Learning Management & Examination System 1.0. This issue affects some unknown processing of the file db.php. Executing a manipulation can lead to hard-coded credentials. The attack can be executed remotely. The exploit has been published and may be used.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-72261
GHSA-2hgw-7hf5-vqr6
NVD
CVE.org
EPSS
VulDB
Exploit-DB