Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover exposed debug/Gii endpoints
-
DeliverySend unauthenticated HTTP request to debug module
-
ExploitRead session cookies and DB queries
-
ExecutionInvoke Gii to write PHP into app directory
-
ImpactExecute planted PHP for code execution
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Exploitable only when a yii2-starter-kit application (through 4.2.0) is deployed with its development configuration active and network-reachable, because that profile sets the debug and Gii modules' allowedIPs to ['*'] (see common/config/web.php line 21). Given that, no authentication or user interaction is required - any remote client can hit the debug endpoint to read session cookies and database queries, and the Gii endpoint to generate and write PHP into the application directory. The primary limiting factor is deployment posture: a correctly hardened production configuration restricts allowedIPs (typically to localhost), so internet exposure requires an operator shipping the dev/staging profile publicly. |
| Impact | The vendor CVSS 4.0 score of 9.3 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H) reflects a genuinely dangerous outcome: unauthenticated network attackers reach the Yii debug module (leaking session cookies and executed database queries → VC:H) and the Gii code generator (writing attacker-controlled PHP files into the application directory → VI:H, effectively a path to remote code execution). SSVC-wise the technical impact is high and the flaw is trivially automatable via simple HTTP requests. However, the single most important mitigating signal is buried in the description: this exposure exists in the DEFAULT DEVELOPMENT configuration (allowedIPs set to ['*'] in common/config/web.php), not a hardened production build. Real-world risk therefore hinges entirely on whether an operator deployed the development/staging profile to an internet-reachable host - a real and common misconfiguration, but not the framework's intended production posture. No EPSS score, no CISA KEV listing, and no public exploit code were supplied, so there is no evidence of active exploitation; the 9.3 is a worst-case rating rather than a confirmed widespread-exploitation priority. This is best characterized as a high-impact, low-prevalence issue whose true exposure depends on deployment discipline. |
| Exploit ScenarioDerived | An operator deploys a yii2-starter-kit application (≤4.2.0) to an internet-facing server while retaining the development configuration. An unauthenticated attacker requests the debug endpoint to harvest session cookies and database query contents, then invokes the Gii generator endpoint to write a malicious PHP file into the webroot, which is subsequently executed to achieve code execution. No public proof-of-concept was referenced, but exploitation requires only ordinary HTTP requests (AV:N/AC:L/PR:N). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 30, 2026
Unauthenticated remote attackers who can reach a yii2-starter-kit deployment (through version 4.2.0) running with its default development configuration can read sensitive runtime data and write arbitrary PHP files. The dev profile sets the Yii debug and Gii modules' allowedIPs to ['*'] in common/config/web.php, so the debug endpoint leaks session cookies and executed database queries (C:H) while the Gii code generator can be abused to create attacker-controlled PHP in the application directory (I:H), a practical path to remote code execution. Exploitation requires the application to be network-exposed while still running the development/staging configuration; a properly hardened production deployment restricts allowedIPs (typically to localhost). No public exploit identified at time of analysis, and the issue is not in CISA KEV; EPSS data was not supplied.
RemediationAI
No vendor-released patch version is identified in the available data; the tracked issue at https://github.com/yii-starter-kit/yii2-starter-kit/issues/797 has not been confirmed as fixed in a tagged release, so treat this as a configuration-hardening problem rather than waiting on an upstream tag. The immediate and most reliable action is to stop running the development profile on any network-reachable host: deploy with the production configuration so the debug and gii modules are not registered, or, if they must remain, edit common/config/web.php to replace allowedIPs => ['*'] with an explicit allowlist of trusted management IPs (localhost/127.0.0.1 and the CI or admin ranges) - the trade-off is that developers lose remote access to the debugger and code generator and must tunnel or work locally, which is the intended posture. As a compensating control for systems that cannot be reconfigured quickly, block the debug and Gii route prefixes at the reverse proxy or web server (deny the default Yii debug routes such as /debug/* and the Gii entry point from all non-administrative source addresses) and rotate any application session cookies and database credentials that may have been leaked through the debug panel before restricting access. Note that disabling only the Gii endpoint still leaves the debug panel exposing session cookies and SQL logs, and vice versa; both must be closed. After remediation, verify by requesting the debug and Gii paths from an external address and confirming a 403/404 rather than a rendered panel.
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
yii2-starter-kit is an open-source Yii2 application template (CPE cpe:2.3:a:yii2-starter-kit:yii2-starter-kit:*:*:*:*:*:*:*:*), and the flaw is classified as CWE-489, Leftover Debug Code. The Yii debugging toolbar/log module and the Gii CRUD/code generator are development-only components that normally gate access via an allowedIPs allowlist; the shipped default development configuration sets that allowlist to ['*'] (per the referenced blob at common/config/web.php line 21), effectively removing the access control rather than being a memory-safety or injection defect. Because these modules are plain HTTP endpoints reachable over the application's web port, any client - no credentials, no interaction (CVSS 4.0 AV:N/AC:L/AT:N/PR:N/UI:N; assessed CVSS 3.1 AV:N/AC:L/PR:N/UI:N) - can query the debug panel for the session cookie jar and the logged SQL statements, and can drive the Gii generator to emit PHP source into the app tree. Impact is bounded to confidentiality and integrity (VC:H/VI:H, VA:N in the 4.0 vector; S:U in the 3.1 assessment), since the debugger itself is not a denial-of-service surface. Nothing in the underlying Yii framework is broken; the exposure is entirely a configuration-posture problem introduced by shipping permissive dev defaults.
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:H/VI:H/VA:N/SC:N/SI:N/SA:N
Unauthenticated network HTTP access with no interaction (AV:N/AC:L/PR:N/UI:N); debug leak gives C:H and Gii PHP-file write gives I:H; no direct availability loss (A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
yii2-starter-kit through 4.2.0 exposes the Yii debug and Gii modules to all IP addresses by setting allowedIPs to ['*'] in its default development configuration. Unauthenticated remote attackers can access the debug endpoint to read sensitive data including session cookies and database queries, or access the Gii endpoint to generate and write PHP files into the application directory.
Executive ViewAI
The yii2-starter-kit application framework (through version 4.2.0) contains a critical flaw that only manifests when a deployment is left running its default development configuration while reachable from the network. In that state an outside party can read live session cookies and executed database queries and can write arbitrary PHP into the application directory, which is a direct path to full server compromise. Any business unit running this starter kit in a lab, staging, or pilot environment that is internet-exposed should treat its data and availability as at risk until the configuration is corrected or a vendor patch is released.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict the debug and Gii modules' allowedIPs in common/config/web.php away from the default wildcard (typically to localhost), disable the Gii generator and Yii debug module outside development, remove development/staging-configured instances from direct internet exposure via VPN or IP allowlisting, block the corresponding endpoint paths at the WAF or reverse proxy, and monitor for unauthorized PHP file creation in the application directory.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-90206
GHSA-92vv-q57x-j4vj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB