Shopping Carts and Weak Security Explained by fris
Written on December 22nd 2003, Merry Christmas Packetstorm Security.
Lets go Through Some first
Alabanza AlaCart Shopping Cart, this has a SQL Injection. When you access the admin section all you have to do is enter '=' for login and password and you have access to everything, and your whole company is vuln. How does a person find the admin section? Well simple. Ways around google.
You could do a simple search for example inurl:s-cart/admin and results would come up.
So yet again you could do a simple inurl:metacart.mdb in google and find results and just grab the access database and open it up in access and you have the companies information. This is why companies need to protect this data. Its a must for security reasons.
All they would have to do is set the permissions on the database in the control panel in Information services, But admins are too lazy. They don't double check. So when Your folder is set to Write, Read and Execute. You know something is wrong.
They should be set to Write and Execute for Anonymous so people Can't Download the database. Then rwx on the database itself so you can make changes of course.
----
SHOP.PL Vuln
Yet another system that people are using against companies, to again access to their files and get data.
Bascially you can download their Access database with their whole online shop, all there customer data, lazy admins that dont put the correct permissions will leave this open, but smart ones wont let you download the database.
Other Key tricks:
Going in google:
search for "/cgi/shopper.cgi?" or for more results try "/cgi-bin/shopper.cgi?" ("shopcart.cgi" can also be used)
find a site ("your shopping cart" or "Subtotal $0.00") and remove everything after shopper.cgi
(the url should contain "/cgi/shopper.cgi?display=action"
or
"/cgi-bin/shopper.cgi?display=action" or possibly "checkout=action")
add "?search=action&keywords=%20&template=order.log" to the url
All of these can load a path list, to test your vuln servers to do auditing, here is an updated list of security holes. against most of the shopping carts. Admins please protect your systems, You dont want your customers data at risk.
Most of all shopping carts are vuln in one way or another, its just finding a way around them, if the admins were to set the right permissions, just being smart is the key.
That concludes The explaination of Shopping Carts and their insecurities.
Regards ~Faceless Master
FireAlwaysWorks
Jan 13 2004, 06:37 PM
Yeah I am getting really into SQL injection. This is awesome, I think I might write a perl script for this one.
thanks dude.
GSecur
Jan 13 2004, 06:45 PM
Good stuff, Archived
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.