CVE-2007-3431
NoneCVSS
—
EPSS
70.7%
Published
Jun 27, 2007
CISA due date
—
Cloudanix analysis
An old web calendar tool can be tricked into running attacker-supplied code from the internet, letting intruders take over the server if the software is still in use.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Application
- Class
- RCE
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Remote file inclusion in cal.func.php allows an unauthenticated attacker to supply an arbitrary URL via the dir_edge_lang parameter, causing the application to include and execute attacker-controlled PHP code on the server.
Why it matters to the business
Attackers can fully compromise the web server running this outdated application, leading to data theft, site defacement, or use as a foothold for further network attacks; the software has received no updates in nearly two decades, increasing long-term exposure for any remaining deployments.
How an attack unfolds
An attacker crafts a malicious request that sets the dir_edge_lang parameter to a URL pointing at attacker-hosted PHP code; the vulnerable include statement fetches and executes the remote file, granting the attacker arbitrary code execution on the server.
How to fix it
Immediately remove or isolate any instances of Valerio Capello Dagger r23jan2007; replace with a maintained calendar or CMS component; if retention is unavoidable, apply input validation and disable remote includes in PHP configuration.
How to confirm the fix worked
Scan application source for the dir_edge_lang parameter in cal.func.php and verify that include statements no longer accept remote URLs; test by attempting a benign remote-include request and confirming it is rejected.
Typical attack path
- Identify a publicly reachable instance of Dagger r23jan2007
- Craft a URL that supplies an attacker-controlled value for dir_edge_lang
- Host or reference malicious PHP payload at the supplied URL
- Deliver the crafted request to the vulnerable cal.func.php endpoint
- Execute commands or install additional tools on the compromised server
How to detect it
Review web server access logs for requests to cal.func.php that contain the dir_edge_lang parameter with external URLs or suspicious schemes; look for PHP error logs showing failed or successful remote include attempts.
- dir_edge_lang=http
- dir_edge_lang=https
- cal.func.php?dir_edge_lang=
- include.*dir_edge_lang
What your security team should do
- Block all external access to legacy Dagger instances
- Search web logs for any historical or current requests containing dir_edge_lang with http/https schemes
- Migrate affected functionality to a supported platform
- Add web application firewall rules to block remote file inclusion patterns
The record
PHP remote file inclusion vulnerability in cal.func.php in Valerio Capello Dagger - The Cutting Edge r23jan2007 allows remote attackers to execute arbitrary PHP code via a URL in the dir_edge_lang parameter.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|