WordPress AndyBlue Theme URL Cross-Site Scripting

Posted in Internet Security, Threats, Vulnerabilities, Attacks by Dragan Pleskonjic @ Jun 17, 2007

There is new challenge for us who use WordPress as blogging tool. According Secunia, a new vulnerability in the AndyBlue theme for WordPress has been discovered. It can be exploited by malicious people to conduct cross-site scripting attacks.

Input passed in the URL through the WordPress installation’s index.php script to searchform.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user’s browser session in context of an affected site. The vulnerability is confirmed in version 1.4. Other versions may also be affected. Solution is to edit the source code to ensure that input is properly sanitised.

Fortunately, my blog is not based on vulnerable theme, so I’m lucky again.

Read about this vulnerability here.

Sphere: Related Content

SDL Crypto Code Review Macro

Posted in Cryptography, Secure Programming, Tools and Utilities by Dragan Pleskonjic @ Jun 17, 2007

Michael Howard’s talks about SDL Crypto Code Review at his blog. He says:

When I review code for security bugs I basically do the following:

1) Run static analysis tools and compile with /W4 to see which source code files appear to have more warnings or errors. This may indicate more bugs.
2) Look for known issues, such as banned APIs and banned functionality. I hand review anything I spot in this pass, but the noise can be very high.
3) Drill down into the riskiest code (ie; line-by-line review) based on the threat models.

Michael decided to create a simple macro to help with (2) when reviewing code for potential crypto issues. You can read about it and donwload code at his Web log (here).

Sphere: Related Content