漏洞描述
An AntSword application backdoor shell was discovered.
id: antsword-backdoor
info:
name: AntSword Backdoor Detection
author: ffffffff0x
severity: critical
description: An AntSword application backdoor shell was discovered.
remediation: Reinstall AnstSword on a new system due to the target system's compromise. Follow best practices for securing PHP servers/applications via the php.ini and other mechanisms.
reference:
- https://github.com/AntSwordProject/AntSword-Labs/tree/master/bypass_disable_functions/9
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
cvss-score: 10
cwe-id: CWE-553
metadata:
max-request: 1
tags: backdoor,antsword,vuln
http:
- method: POST
path:
- "{{BaseURL}}/.antproxy.php"
headers:
Content-Type: application/x-www-form-urlencoded
body: 'ant=echo md5("antproxy.php");'
matchers-condition: and
matchers:
- type: word
part: body
words:
- "951d11e51392117311602d0c25435d7f"
- type: status
status:
- 200
# digest: 4b0a00483046022100f09b74589098cae216fdc43b6d72324266a41344ae871c6e6dfe9c84e75cff9502210088af9b34494763a16c7b98ecb31b57b79d0383af38ecf62545327d93a5c2d7f7:922c64590222798bb761d5b6d8e72950