beford has discovered a vulnerability in V-webmail, which can be exploited by malicious people to compromise a vulnerable system.
Input passed to the "CONFIG[pear_dir]" parameter in "includes/mailaccess/pop3.php" isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from external and local resources.
Successful exploitation requires that "register_globals" is enabled and that the "includes" directory is placed accessible inside the web root (the installation instructions recommends to place the "includes" directory outside the web root if possible)
NOTE: In version 1.3 then the affected script is reportedly named "includes/mailaccess/pop3/core.php".
The vulnerability has been confirmed in version 1.6.4, and has also been reported in versions 1.3 and 1.5.
Solution: Ensure that only the "htdocs" directory is accessible inside the web root.
Provided and/or discovered by: beford
Original Advisory: http://milw0rm.com/exploits/1827
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to email@example.com