2023-04-11 19:12:33 +00:00
|
|
|
id: default-spx-key
|
2023-04-06 16:49:48 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: SPX PHP Profiler - Default Key
|
|
|
|
author: vagnerd
|
|
|
|
severity: high
|
|
|
|
description: |
|
2023-04-11 19:12:33 +00:00
|
|
|
SPX PHP profiler default spx key were discovered.
|
2023-04-06 16:49:48 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/NoiseByNorthwest/php-spx
|
|
|
|
remediation: |
|
|
|
|
- https://github.com/NoiseByNorthwest/php-spx#security-concern
|
|
|
|
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
|
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 11
|
2023-04-06 16:49:48 +00:00
|
|
|
verified: "true"
|
2023-04-11 19:12:33 +00:00
|
|
|
tags: spx-php,debug,misconfig,spx
|
2023-04-06 16:49:48 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2023-04-06 16:49:48 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/?SPX_KEY={{api_key}}&SPX_UI_URI=/"
|
|
|
|
|
|
|
|
attack: batteringram
|
|
|
|
payloads:
|
|
|
|
api_key:
|
|
|
|
- dev
|
|
|
|
- devel
|
|
|
|
- stg
|
|
|
|
- stag
|
|
|
|
- staging
|
|
|
|
- prd
|
|
|
|
- prod
|
|
|
|
- production
|
|
|
|
- test
|
|
|
|
- testing
|
|
|
|
- spx
|
|
|
|
|
2023-04-11 19:12:33 +00:00
|
|
|
stop-at-first-match: true
|
2023-04-06 16:49:48 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '<title>SPX Control Panel</title>'
|
|
|
|
- 'SPX_ENABLED'
|
2023-04-11 19:12:33 +00:00
|
|
|
- "Configuration"
|
2023-04-06 16:49:48 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|