Description
S40 CMS v0.4.2 contains a path traversal vulnerability in its index.php page handler. The p parameter is not properly sanitized, allowing attackers to traverse the file system and access arbitrary files outside the web root. This can be exploited remotely without authentication by appending traversal sequences and a null byte to bypass file extension checks.
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
0.4.2
Credits
Osirys
References
raw.githubusercontent.com/...y/scanner/http/s40_traversal.rb
www.exploit-db.com/exploits/17129
web.archive.org/...ttp://y-osirys.com/security/exploits/id27
web.archive.org/web/20120531114058/http://s40.biz/
www.vulncheck.com/advisories/s40-cms-path-traversal