CVE-2007-2826

Madirish Webmail 2.0 - Remote Code Execution via GLOBALS[basedir] Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2007-2826. PoCs published by BoZKuRTSeRDaR, eidelweiss.

AI-analyzed exploit summary This exploit demonstrates a remote file inclusion vulnerability in Madirish Webmail v2.0 by manipulating the `GLOBALS[basedir]` parameter to include an arbitrary remote file (e.g., shell.txt). The vulnerability arises from insecure handling of user-supplied input in the `addressbook.php` script.

Description

PHP remote file inclusion vulnerability in lib/addressbook.php in Madirish Webmail 2.0 allows remote attackers to execute arbitrary PHP code via a URL in the GLOBALS[basedir] parameter.

Exploits (2)

exploitdb WORKING POC VERIFIED
by BoZKuRTSeRDaR · textwebappsphp
https://www.exploit-db.com/exploits/4031

This exploit demonstrates a remote file inclusion vulnerability in Madirish Webmail v2.0 by manipulating the `GLOBALS[basedir]` parameter to include an arbitrary remote file (e.g., shell.txt). The vulnerability arises from insecure handling of user-supplied input in the `addressbook.php` script.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Madirish Webmail v2.0
No auth needed
Prerequisites: Remote file inclusion must be enabled on the target server · Attacker must be able to host a malicious file (e.g., shell.txt) on an accessible server
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC
by eidelweiss · textwebappsphp
https://www.exploit-db.com/exploits/12369

This exploit demonstrates RFI/LFI vulnerabilities in Madirish Webmail 2.01 due to improper handling of the 'basedir' parameter. Successful exploitation requires 'register_globals' to be enabled.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Madirish Webmail 2.01
No auth needed
Prerequisites: register_globals enabled · access to vulnerable parameter
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (5)

Core 5
Core References
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/25475
Exploit third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/2718
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/4031
Exploit vdb-entry x_refsource_osvdb
http://osvdb.org/36802
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/24059

Scores

EPSS 0.0326
EPSS Percentile 86.7%

Details

CWE
CWE-94
Status published
Products (1)
madirish_webmail/madirish_webmail 2.0
Published May 22, 2007
Tracked Since Feb 18, 2026