LinuxStat Remote Directory Traversal Vulnerability
BID:11517
Info
LinuxStat Remote Directory Traversal Vulnerability
| Bugtraq ID: | 11517 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Oct 25 2004 12:00AM |
| Updated: | Oct 25 2004 12:00AM |
| Credit: | This vulnerability was reported by the vendor. |
| Vulnerable: |
Ryszard Pydo LinuxStat 2.3 Ryszard Pydo LinuxStat 2.2 Ryszard Pydo LinuxStat 2.1 Ryszard Pydo LinuxStat 2.0 |
| Not Vulnerable: |
Ryszard Pydo LinuxStat 2.3.1 |
Discussion
LinuxStat Remote Directory Traversal Vulnerability
It is reported that LinuxStat is vulnerable to a directory traversal vulnerability. This issue is due to a failure of the application to properly sanitize user-supplied input.
By including '../' directory traversal sequences in the affected URI argument, attackers may reportedly cause the contents of arbitrary, potentially sensitive web-server readable files to be included in the output of the requested page. The resulting information disclosure may aid malicious users in further attacks.
Versions prior to 2.3.1 are reported to be affected by this vulnerability.
It is reported that LinuxStat is vulnerable to a directory traversal vulnerability. This issue is due to a failure of the application to properly sanitize user-supplied input.
By including '../' directory traversal sequences in the affected URI argument, attackers may reportedly cause the contents of arbitrary, potentially sensitive web-server readable files to be included in the output of the requested page. The resulting information disclosure may aid malicious users in further attacks.
Versions prior to 2.3.1 are reported to be affected by this vulnerability.
Exploit / POC
LinuxStat Remote Directory Traversal Vulnerability
An exploit is not required. An example URI sufficient to exploit this vulnerability was provided:
http://www.example.com/lstat/lstat.cgi?obj=wg104&template=../../../../../../../../etc/passwd&from=-1m&to=now
An exploit is not required. An example URI sufficient to exploit this vulnerability was provided:
http://www.example.com/lstat/lstat.cgi?obj=wg104&template=../../../../../../../../etc/passwd&from=-1m&to=now
Solution / Fix
LinuxStat Remote Directory Traversal Vulnerability
Solution:
The vendor has released version 2.3.1 of the affected package to resolve this issue:
Ryszard Pydo LinuxStat 2.0
Ryszard Pydo LinuxStat 2.1
Ryszard Pydo LinuxStat 2.2
Ryszard Pydo LinuxStat 2.3
Solution:
The vendor has released version 2.3.1 of the affected package to resolve this issue:
Ryszard Pydo LinuxStat 2.0
-
Ryszard Pydo lstat-2.3.1.tar.gz
http://prdownloads.sourceforge.net/lstat/lstat-2.3.1.tar.gz?download
Ryszard Pydo LinuxStat 2.1
-
Ryszard Pydo lstat-2.3.1.tar.gz
http://prdownloads.sourceforge.net/lstat/lstat-2.3.1.tar.gz?download
Ryszard Pydo LinuxStat 2.2
-
Ryszard Pydo lstat-2.3.1.tar.gz
http://prdownloads.sourceforge.net/lstat/lstat-2.3.1.tar.gz?download
Ryszard Pydo LinuxStat 2.3
-
Ryszard Pydo lstat-2.3.1.tar.gz
http://prdownloads.sourceforge.net/lstat/lstat-2.3.1.tar.gz?download
References
LinuxStat Remote Directory Traversal Vulnerability
References:
References:
- LinuxStat Home Page (Ryszard Pydo)
- LinuxStat Security Page (Ryszard Pydo)
- Lstat dziurawy (Linux.pl)