Directory traversal vulnerability in the file upload functionality in ZOHO WebNMS Framework 5.2 and 5.2 SP1 allows remote attackers to upload and execute arbitrary JSP files via a .. (dot dot) in the fileName parameter to servlets/FileUploadServlet.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
http://seclists.org/fulldisclosure/2016/Aug/54 | exploit mailing list |
https://forums.webnms.com/topic/recent-vulnerabilities-in-webnms-and-how-to-protect-the-server-against-them | |
http://www.securityfocus.com/bid/92402 | third party advisory vdb entry |
https://www.exploit-db.com/exploits/40229/ | third party advisory exploit |
http://www.securityfocus.com/archive/1/539159/100/0/threaded | mailing list |
http://packetstormsecurity.com/files/138244/WebNMS-Framework-5.2-SP1-Traversal-Weak-Obfuscation-User-Impersonation.html | third party advisory exploit |
https://blogs.securiteam.com/index.php/archives/2712 | third party advisory exploit technical description |
https://github.com/pedrib/PoC/blob/master/advisories/webnms-5.2-sp1-pwn.txt | exploit |