Nappa

Enumeration

8080/tcp  open     http-proxy

Registered with test@test.com:password

404 Error Page -> Routing Error Page

system_path 	        GET 	/serverinfo(.:format) 	serverinfo#index
system_cmd_path 	POST 	/serverinfo(.:format) 	serverinfo#cmd
http://192.168.95.114:8080/serverinfo

In source code, there is a comment area

  <!-- 
  <input type="text" name="cmd" readonly="">
  <input type="submit" >
  -->

With Burp Suite, we can make it workable.

GET /serverinfo -> Do intercept -> Response to this request

Initial Access

Click submit -> Find the post request in history -> Send to the repeater -> Add, url encoded cmd

PrivEsc

This is a base32 encoded string. It is an openssh private key. Save contents of it to a file.

Last updated