Lucene search
K

CubeCart 5.x Cross Site Request Forgery

🗓️ 01 Jan 2013 00:00:00Reported by Aung KhantType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 21 Views

CubeCart 5.x CSRF vulnerability allows remote attackers to perform unauthorized action

Code
`1. OVERVIEW  
  
CubeCart 5.x versions are vulnerable to Cross Site Request Forgery (CSRF).  
  
  
2. BACKGROUND  
  
CubeCart is an "out of the box" ecommerce shopping cart software  
solution which has been written to run on servers that have PHP &  
MySQL support. With CubeCart you can quickly setup a powerful online  
store which can be used to sell digital or tangible products to new  
and existing customers all over the world.  
  
  
3. VULNERABILITY DESCRIPTION  
  
CubeCart 5.x versions contain a flaw that allows a remote Cross-site  
Request Forgery (CSRF / XSRF) attack. The flaw exists because the  
application does not require multiple steps or explicit confirmation  
for sensitive transactions for majority of administrator functions  
such as adding new user, assigning user to administrative privilege.  
By using a crafted URL, an attacker may trick the victim into visiting  
to his web page to take advantage of the trust relationship between  
the authenticated victim and the application. Such an attack could  
trick the victim into executing arbitrary commands in the context of  
their session with the application, without further prompting or  
verification.  
  
  
4. VERSIONS AFFECTED  
  
5.x  
  
  
5. Proof-of-Concept  
  
http://localhost/admin.php?_g=documents&node=index&delete=1 (Delete  
file in Site Documents)  
http://localhost/admin.php?_g=filemanager&mode=digital&delete=1  
(Delete file in File Manager)  
http://localhost/admin.php?_g=settings&node=admins&action=edit&admin_id=2  
(Delete user)  
http://localhost/admin.php?_g=customers&sort%5Bregistered%5D=DESC&action=delete&customer_id=1  
(Delete customer user)  
http://localhost/admin.php?_g=products&sort%5Bupdated%5D=DESC&delete=1  
(Delete product)  
  
  
6. SOLUTION  
  
The vendor has chosen not to fix the issue.  
Workaround is not to visit malicious sites during log-in.  
  
  
7. VENDOR  
  
CubeCart Development Team  
http://cubecart.com/  
  
  
8. CREDIT  
  
Aung Khant, http://yehg.net, YGN Ethical Hacker Group, Myanmar.  
  
  
9. DISCLOSURE TIME-LINE  
  
2012-12-22: Vulnerability disclosed  
2012-12-24: The vendor replied that the fix would not be implemented.  
2013-01-01: Vulnerability disclosed  
  
  
10. REFERENCES  
  
Original Advisory URL:  
http://yehg.net/lab/pr0js/advisories/%5Bcubecart_5x%5D_csrf  
CubeCart Home Page: http://cubecart.com/  
  
#yehg [2013-01-01]  
---------------------------------  
Best regards,  
YGN Ethical Hacker Group  
Yangon, Myanmar  
http://yehg.net  
Our Lab | http://yehg.net/lab  
Our Directory | http://yehg.net/hwd  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation