PT-2013-15: XML External Entities Injection in vBulletin 5 Connect

(PT-2013-15) Positive Technologies Security Advisory
XML External Entities Injection in vBulletin 5 Connect

Vulnerable software

vBulletin
Version: 5 Beta 27 and earlier

Link:
http://vbulletin.com/

Severity level

Severity level: Medium
Impact: Internal Network Resources and File System Access, Denial of Service 
Access Vector: Remote

CVSS v2:
Base Score: 6.4
Vector: (AV:N/AC:L/Au:N/C:P/I:N/A:P)

CVE: not assigned

Software description

vBulletin 5 Connect provides unparalleled capabilities for building community websites. The software facilitates increased content creation, more engaging content discovery and simplified site management.

Vulnerability description

The specialists of the Positive Research center have detected an XML External Entities Injection vulnerability in vBulletin 5 Connect.

The vulnerability was detected in "appender_socket_server.php" of the Apache log4php library used by vBulletin. PHP's built-in SoapClient class allows the use of external entities while parsing SOAP wsdl files which enables an attacker to read arbitrary files. The vulnerable script starts a local proxy on port 4242 and unserializes incoming data executing "getLoggerName" method on unserialized object. An attacker can send serialized SoapClient object initialized in non-wsdl mode which will make PHP to parse remote XML-document automatically and thus enables him to read arbitrary files via XXE including vBulletin configuration file.

How to fix

Update your software up to the latest version

Advisory status

07.02.2013 - Vendor gets vulnerability details
11.02.2013 - Vendor releases fixed version and details
23.10.2013 - Public disclosure

Credits

The vulnerability was detected by Arseny Reutov, Positive Research Center (Positive Technologies Company)

References

http://en.securitylab.ru/lab/PT-2013-15

Reports on the vulnerabilities previously discovered by Positive Research:

http://www.ptsecurity.com/research/advisory/
http://en.securitylab.ru/lab/

About Positive Technologies

Positive Technologies www.ptsecurity.com is among the key players in the IT security market in Russia.

The principal activities of the company include the development of integrated tools for information security monitoring (MaxPatrol); providing IT security consulting services and technical support; development of the Securitylab leading Russian information security portal.

Among the clients of Positive Technologies, there are more than 40 state enterprises, more than 50 banks and financial organizations, 20 telecommunication companies, more than 40 plant facilities, as well as IT, service and retail companies from Russia, the CIS countries, the Baltic States, China, Ecuador, Germany, Great Britain, Holland, Iran, Israel, Japan, Mexico, the Republic of South Africa, Thailand, Turkey, and the USA.

Positive Technologies is a team of highly skilled developers, advisers and experts with years of vast hands-on experience. The company specialists possess professional titles and certificates; they are the members of various international societies and are actively involved in the IT security field development.