楼主: 90_

WordPress eShop 6.3.11代码执行漏洞

[复制链接]
  • TA的每日心情

    2024-11-13 20:06
  • 签到天数: 1628 天

    [LV.Master]伴坛终老

    发表于 2015-5-7 12:29:47 | 显示全部楼层 |阅读模式
    CVE-2015-3421

    Description:
    High-Tech Bridge Security Research Lab discovered a security vulnerability in the eShop WordPress Plugin, which can be exploited by remote attackers to overwrite arbitrary PHP variables within the context of the vulnerable application. The vulnerability exists due to insufficient validation of user-supplied input in the "eshopcart" HTTP cookie. Successful exploitation of this vulnerability may potentially result in arbitrary PHP code execution.

    1. Product: eShop WordPress plugin
    2. Vendor: Rich Pedley
    3. Vulnerable Version(s): 6.3.11 and probably prior
    4. Tested Version: 6.3.11
    5. Advisory Publication:  April 15, 2015  [without technical details]
    6. Vendor Notification: April 15, 2015
    7. Public Disclosure: May 6, 2015
    8. Vulnerability Type: Code Injection [CWE-94]
    9. CVE Reference: CVE-2015-3421
    10. Risk Level: Medium
    11. CVSSv2 Base Score: 6.4 (AV:N/AC:L/Au:N/C:P/I:P/A:N)
    12. Discovered and Provided: High-Tech Bridge Security Research Lab ( [url]https://www.htbridge.com/advisory/[/url] )
    复制代码

    -----------------------------------------------------------------------------------------------

    Advisory Details:

    High-Tech Bridge Security Research Lab discovered security vulnerability in eShop WordPress Plugin, which can be exploited by remote attacker to overwrite arbitrary PHP variables within the context of the vulnerable application. The vulnerability exists due to insufficient validation of user-supplied input in "eshopcart" HTTP cookie. Successful exploitation of this vulnerability may potentially result in arbitrary PHP code execution (RCE).
      
    Often such type of vulnerabilities lead to RCE, however in this case we can only overwrite string variables within the scope of 'eshop_checkout()' function in '/wp-content/plugins/eshop/checkout.php' file. This reduces our current vectors of exploitation to Full Path Disclosure and Cross-Site Scripting.

    Below is a simple PoC that overwrites contents of the "wpdb" PHP variable, which causes an error in code and discloses full installation path:


    [PHP] 纯文本查看 复制代码
    GET /shopping-cart-2/checkout/ HTTP/1.1
    Cookie: eshopcart=wpdb%3d1%7C; 



    Another PoC triggers the XSS vector and executes JS pop-up box displaying "ImmuniWeb":


    [PHP] 纯文本查看 复制代码
    GET /shopping-cart-2/checkout/ HTTP/1.1
    Cookie: eshopcart=phone%3dsdfg'"><script>alert(/ImmuniWeb/)</script>




    -----------------------------------------------------------------------------------------------

    Solution:

    Disclosure timeline:
    2015-04-15 Vendor Alerted via contact form and thread in support forum, no reply.
    2015-04-29 Vendor Alerted via contact form and emails, no reply.
    2015-05-05 Fix Requested via contact form and emails, no reply.
    2015-05-06 Public disclosure.

    Currently we are not aware of any official solution for this vulnerability.
    [2015-05-07]  #
    回复

    使用道具 举报

    该用户从未签到

    发表于 2015-5-11 22:57:30 | 显示全部楼层
    我需要翻译。。
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    发表于 2015-6-27 05:20:32 | 显示全部楼层
    感谢楼主的分享~
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    发表于 2015-6-27 06:15:44 | 显示全部楼层
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    发表于 2015-6-28 22:22:25 | 显示全部楼层
    还是不错的哦,顶了
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    发表于 2015-6-29 15:07:21 | 显示全部楼层
    感谢楼主的分享~
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    慵懒
    2019-4-14 17:44
  • 签到天数: 5 天

    [LV.2]偶尔看看I

    发表于 2015-6-30 10:34:40 | 显示全部楼层
    支持,看起来不错呢!
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2015-6-21 22:12
  • 签到天数: 1 天

    [LV.1]初来乍到

    发表于 2015-6-30 14:12:15 | 显示全部楼层
    支持中国红客联盟(ihonker.org)
    回复 支持 反对

    使用道具 举报

  • TA的每日心情
    开心
    2015-6-21 22:12
  • 签到天数: 1 天

    [LV.1]初来乍到

    发表于 2015-7-1 21:23:56 | 显示全部楼层
    还是不错的哦,顶了
    回复 支持 反对

    使用道具 举报

  • TA的每日心情

    2019-2-12 22:05
  • 签到天数: 2 天

    [LV.1]初来乍到

    发表于 2015-7-2 05:54:11 | 显示全部楼层
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    指导单位

    江苏省公安厅

    江苏省通信管理局

    浙江省台州刑侦支队

    DEFCON GROUP 86025

    旗下站点

    邮箱系统

    应急响应中心

    红盟安全

    联系我们

    官方QQ群:112851260

    官方邮箱:security#ihonker.org(#改成@)

    官方核心成员

    Archiver|手机版|小黑屋| ( 苏ICP备2021031567号 )

    GMT+8, 2024-11-22 12:50 , Processed in 0.022446 second(s), 13 queries , Gzip On, MemCache On.

    Powered by ihonker.com

    Copyright © 2015-现在.

  • 返回顶部