Joomla SQL-Injection Flaw Affects Millions of Websites (trustwave.com)
An anonymous reader writes: Joomla has just issued a patch that fixes a SQL-injection vulnerability discovered by a researcher at Trustwave SpiderLabs. The flaw allowed malicious users to extract a browser cookie assigned to a site's administrator, giving them access to restricted parts of the server. The flaw first appeared in Joomla 3.2, released in November, 2013. An estimated 2.8 million websites rely on Joomla. The Joomla team and the researcher who found the flaw recommend an immediate update to version 3.4.5.
If your still using php coupled with a framework or not, you should probably check out nodejs and nedb or mongo db. This would be impossible with a proper database, sql is decades old and should be retired at this point, php as well.
Hello, php and sql are both very old technologies, and generally unsatisfactory for security and function reasons. PHP is unable to broadcast data between clients or to specific clients from another client. Sql fusing operation and data into one string is madness in modern setups.
If you want a proper setup it should be nodejs with a websocket handling data flow and an object database like nedb or mongo db.
Object oriented databases are immune to string based attacks because their function and data are seperated. //This can be broken by injecting data that isn't supposed to be there into the string //for instance it could be changed to 'SELECT user FROM table_name WHERE userID=1 AND 1=1' //the 1=1 makes the statment true, and all users are returned //The parameters of the find are {}, but the operation find is outside of this area, making injection or altering the operation taking place impossible.
ex SQL:
$qeury= 'SELECT user FROM table_name WHERE userID=1';
vs
ex NEDB:
database.find({},function(error,results){
});
Means three days ago. Neat
.... big open source projects with lots of developers and they STILL have SQL injection attacks?
Call me lucky as hell, but I've yet to run into ONE SQL injection attack on anything I've written. Is ti really that difficult for people to write quality, secure code? =\
If you can't upgrade at this moment, consider disabling the website immediately. You've got a nice shell to the hosting server, and depending on how ancient that is you're a privilege escalation exploit away from damnation.
Today I learned that I write more secure code than all of the fucking coders at Joomla put together.
A decent sized company with loads of resources, lots of code reviews, using Agile, Scrum, Waterfall, SuckMyPecker, and (supposedly) staffed with experienced programmers, and they STILL fuck it up.
Just cruising through this digital world at 33 1/3 rpm...
Just switch to Plone and sleep easier at night. A little out of date figures, but in the time Joomla had 441 exploits, Plone had 9.
https://plone.org/products/plo...
-Matt
I don't trust CMSes and frameworks over my own ability to code.
... because shallow bugs are always found so quickly.
What's with all the anonymous wankers beaking off about PHP vs Node, or JavaScript in general, when it's a server-side parsing of input that leads to the vulnerability? WebGoat was written as an on-purpose vulnerable web app for learning on, maybe some of you should download it and Burp or ZAP and do some self-education. OTOH, I'm sure someone would look at WebGoat, and respond with, "OMG, Java is teh suckz!"
I'm sure someone would look at WebGoat, and respond with, "OMG, Java is teh suckz!"
Well, they wouldn't be wrong, even if they were clueless.
So, does this only work if errors are output to the screen?
Trying to assess the impact to our client sites. We always write errors to file and not to screen.
I switched away from Joomla to WordPress several years ago because hackers kept banging on my virtual doors. I'm looking into switching from WordPress to a static file generator. Can't hack what doesn't have any vulnerabilities.
How is this news?
PHP: by amateurs, for amateurs.
Only self-trained monkeys use PHP.
It is great for one thing: If PHP shows up on a resume it gets deleted on the spot.