CVE-2005-1894 in Flatnuke
Direct code injection vulnerability in FlatNuke 2.5.3 allows remote attackers to execute arbitrary PHP code by placing the code into the Referer header of an HTTP request, which causes the code to be injected into referer.php, which can then be accessed by the attacker.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Flatnuke | Flatnuke | 2.5.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
Direct code injection vulnerability in FlatNuke 2.5.3 allows remote attackers to execute arbitrary PHP code by placing the code into the Referer header of an HTTP request, which causes the code to be injected into referer.php, which can then be accessed by the attacker.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2005-1894 |
|---|---|
| BreachSpider ID | BS-2005-GLOBAL-163554-H |
| CVSS vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2005-06-09 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-94: Code Injection
Attacker injects arbitrary code that is executed by the application process.
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94
CAPEC-77 Manipulating User-Controlled Variables via CWE-94
CAPEC-242 Code Injection via CWE-94
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A direct code injection vulnerability in FlatNuke 2.5.3 allows remote attackers to execute arbitrary PHP code via the Referer header, leading to potential compromise of the web application.
The vulnerability exists in the referer.php file of FlatNuke 2.5.3. An attacker can inject arbitrary PHP code into the Referer header of an HTTP request. This code is then executed when the referer.php file is accessed, allowing the attacker to perform actions such as executing commands on the server or stealing sensitive information.
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for all HTTP headers, especially the Referer header, to prevent injection of malicious code.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2005-1894?
A direct code injection vulnerability in FlatNuke 2.5.3 allows remote attackers to execute arbitrary PHP code via the Referer header, leading to potential compromise of the web application.
What is the CVSS score for CVE-2005-1894?
CVE-2005-1894 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 3.7%.
Is CVE-2005-1894 actively exploited?
Public exploit available for CVE-2005-1894. Exploitation risk elevated.
How do I remediate CVE-2005-1894?
Priority: MEDIUM. PSIRT: [email protected]
What systems are affected by CVE-2005-1894?
CVE-2005-1894 affects Flatnuke Flatnuke.
What NERC-CIP standard applies to CVE-2005-1894?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to the control system environment, potentially compromising the integrity and availability of critical assets.
What IEC 62443 requirement maps to CVE-2005-1894?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited remotely to execute arbitrary code, which could lead to loss of control and data integrity in the ICS environment.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Flatnuke","product":"Flatnuke","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.