Mandrake /perl http Directory Disclosure Vulnerability
BID:1678
Info
Mandrake /perl http Directory Disclosure Vulnerability
| Bugtraq ID: | 1678 |
| Class: | Configuration Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Sep 11 2000 12:00AM |
| Updated: | Sep 11 2000 12:00AM |
| Credit: | First made public in MandrakeSoft advisory MDKSA-2000:046 published on Sept. 11, 2000. |
| Vulnerable: |
Mandriva Linux Mandrake 7.1 Mandriva Linux Mandrake 7.0 Mandriva Linux Mandrake 6.1 |
| Not Vulnerable: | |
Discussion
Mandrake /perl http Directory Disclosure Vulnerability
The default configuration files for versions of mod_perl shipped with Mandrake Linux 6.1 through 7.1 contain a misconfiguration that can be a security concern in some situations. The /perl directory is part of the webserver's root tree (the subdirectory tree from which files are accessable on the webserver..) that is used to store perl scripts. In the configuration file for mod_perl, the apache perl interpreter module, the directory is permitted to be "indexed".. meaning that the webserver will display the contents of the directory if it is requested by itself. The result is that an attacker can see what files are in /perl. While this bug does not affect how the webserver interprets the files in that directory (eg., it will still execute them), knowing what is there to be executed can allow for more targeted and intelligent attacks against scripts known to be vulnerable listed there.
The default configuration files for versions of mod_perl shipped with Mandrake Linux 6.1 through 7.1 contain a misconfiguration that can be a security concern in some situations. The /perl directory is part of the webserver's root tree (the subdirectory tree from which files are accessable on the webserver..) that is used to store perl scripts. In the configuration file for mod_perl, the apache perl interpreter module, the directory is permitted to be "indexed".. meaning that the webserver will display the contents of the directory if it is requested by itself. The result is that an attacker can see what files are in /perl. While this bug does not affect how the webserver interprets the files in that directory (eg., it will still execute them), knowing what is there to be executed can allow for more targeted and intelligent attacks against scripts known to be vulnerable listed there.
Exploit / POC
Mandrake /perl http Directory Disclosure Vulnerability
Point your web browser to http://target/perl.
Point your web browser to http://target/perl.
Solution / Fix
Mandrake /perl http Directory Disclosure Vulnerability
Mandriva Linux Mandrake 6.1
Mandriva Linux Mandrake 7.0
Mandriva Linux Mandrake 7.1
Mandriva Linux Mandrake 6.1
-
MandrakeSoft 6.1 i386 mod_perl-1.21-17mdk.i586.rpm
ftp://ftp.linux.tucows.com/pub/distributions/Mandrake/Mandrake/updates /6.1/RPMS/mod_perl-1.21-17mdk.i586.rpm
Mandriva Linux Mandrake 7.0
-
MandrakeSoft 7.0 i386 mod_perl-1.21-21mdk.i586.rpm
ftp://ftp.linux.tucows.com/pub/distributions/Mandrake/Mandrake/updates /7.0/RPMS/mod_perl-1.21-21mdk.i586.rpm
Mandriva Linux Mandrake 7.1
-
MandrakeSoft 7.1 i386 mod_perl-1.22-29mdk.i586.rpm
7.1/RPMS/mod_perl-1.22-29mdk.i586.rpm
References
Mandrake /perl http Directory Disclosure Vulnerability
References:
References:
- Mandrake Linux Updates (MandrakeSoft)