, 2005-11-09
The latest and greatest Linux worm isn't the most elegant or fastest spreading worm, or even one that's difficult to stop, but it still offers a warning for Web developers and administrators everywhere.
Expand all |
Post comment
Are Linux and Windows to blame?
2005-11-16
Alexey Vesnin (1 replies)
Alexey Vesnin (1 replies)

This is simply one badly written xmlrpc.php script that got alot of distribution and poor auditing. Unsanitized input being passed right to eval() yeah that's dumb on any platform. The vast majority of php installs dont have xmlrpc.php or the variants of it.
The problem is most of the freely available poorly written webapp code out there is available for php, asp has just as many xss, sql injection problems but few people seem to be releasing free asp code, and the ones that do are just as vulnerable to the same coding mistakes php falls down too. Bottom line, sanitizing user input is easy and you should do it. That and run php in safemode.
Also if /tmp had been mounted noexec (which everyone does out of good security pratices yes?) this wouldn't have even been an issue.
[ reply ]
Link to this comment: http://www.securityfocus.com/comments/columns/368/32647#32647