// back

YaBB Forum member.vars CRLF Injection Privilege Escalation Vulnerability

06.12.07

BACKGROUND

YaBB (Yet another Bulletin Board) is an Open Source community forum system written in Perl. More information is available at the following URL.

http://www.yabbforum.com/

DESCRIPTION

Remote exploitation of an input validation error within version 2.1 of YaBB Forum allows attackers to register with forum Administrator privileges.

The problem specifically exists due to insufficient validation when writing to the "vars" file for each user. By setting the values of certain variables to contain certain characters, attackers can elevate their privileges to that of the forum Administrator.

ANALYSIS

Exploitation allows attackers to obtain Administrator privileges, which include the ability to modify forum templates (i.e., Perl code). This allows administrators to execute arbitrary commands in the context of the web server running the forum.

This attack can be performed during registration. This allows unauthenticated attackers to obtain forum Administrator privileges at registration time via the register.pl script.

Additionally, once registered, a forum user can modify their profile and conduct this attack using the profile.pl script.

DETECTION

iDefense confirmed the existence of this vulnerability within version 2.1 of YaBB Forum.

WORKAROUND

Disabling the registration feature of the forum mitigates this issue.

VENDOR RESPONSE

The YaBB Forum team has addressed this vulnerability by releasing a software update. For more information consult the following announce on their home site.

http://www.yabbforum.com/community/?board=general;action=display;num=1181678785

CVE INFORMATION

A Mitre Corp. Common Vulnerabilities and Exposures (CVE) number has not been assigned yet.

DISCLOSURE TIMELINE

05/23/2007 Initial vendor notification
05/23/2007 Initial vendor response
06/12/2007 Coordinated public disclosure

CREDIT

This vulnerability was reported to iDefense by Peter Vreugdenhil.

Get paid for vulnerability research
http://labs.idefense.com/methodology/vulnerability/vcp.php

Free tools, research and upcoming events
http://labs.idefense.com/

LEGAL NOTICES

Copyright © 2007 Verisign, Inc.

Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customer service for permission.

Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.