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
|
|
|
remediation: |
|
|
|
|
- https://github.com/NoiseByNorthwest/php-spx#security-concern
|
2023-10-14 11:27:55 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/NoiseByNorthwest/php-spx
|
2023-04-06 16:49:48 +00:00
|
|
|
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-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 11
|
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-10-14 11:27:55 +00:00
|
|
|
|
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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100c0572b3481460947441769560ba23e41fa23a500c9905ce4585cca52e3bd97cc02203322aafc293dff0bfb9f0a7933d49df6b9f26dd9c1996198e14f90f26049099f:922c64590222798bb761d5b6d8e72950
|