Ikonboard Remote File Disclosure Vulnerability

BID:2471

Info

Ikonboard Remote File Disclosure Vulnerability

Bugtraq ID: 2471
Class: Input Validation Error
CVE: CVE-2001-0360
Remote: Yes
Local: No
Published: Mar 11 2001 12:00AM
Updated: Jul 11 2009 04:46AM
Credit: Reported to bugtraq by "Martin J. Muench" <[email protected]> on March 11, 2001.
Vulnerable: Ikonboard.com ikonboard 2.1.7 b
- BSDI BSD/OS 4.0.1
- Debian Linux 2.2
- Digital (Compaq) TRU64/DIGITAL UNIX 5.0
- FreeBSD FreeBSD 4.2
- HP HP-UX 11.11
- IBM AIX 4.3.3
- Mandriva Linux Mandrake 7.2
- Microsoft Windows 2000 Professional
- Microsoft Windows NT 4.0
- NetBSD NetBSD 1.4.3
- OpenBSD OpenBSD 2.8
- Redhat Linux 7.0
- SCO eServer 2.3
- Sun Solaris 8_sparc
- SuSE Linux 7.0
Not Vulnerable:

Discussion

Ikonboard Remote File Disclosure Vulnerability

Ikonboard is a perl-based discussion forum script from ikonboard.com.

Versions of Ikonboard are vulnerable to remote disclosure of arbitrary files.

By adding a null byte to the name of a requested file, the attacker can defeat the script's inbuilt feature of appending the suffix '.dat' to requested filenames, a precaution intended to limit the range of files readable using this script.

Exploited in conjunction with '../' sequences inserted into the path of the requested file, this vulnerability allows a remote attacker to submit requests for arbitrary files which are readable by the webserver user.

This could include sensitive system information, including account information and passwords for Ikonboard users and administrators.

Exploit / POC

Ikonboard Remote File Disclosure Vulnerability

Example:

http://www.example.com/cgi-bin/ikonboard/help.cgi?helpon=../../../../../etc/passwd%00

will disclose /etc/passwd, if readable by the webserver.

http://www.example.com/cgi-bin/ikonboard/help.cgi?helpon=../members/[member].cgi%00

discloses the ikonboard account password for [member], including admin acounts.

Solution / Fix

Ikonboard Remote File Disclosure Vulnerability

Solution:
From "Martin J. Muench" <[email protected]>:

You could fix the script temporary by inserting the following line under line 45 in 'help.cgi':

$inhelpon =~ s/\///g;

From [email protected]:

My fix for this was to simply insert as line 45:

if($inhelpon =~ /\.\./) { &hackdetected; }

then at the bottome append:

sub hackdetected {
print "Content-type: text/plain\n\n";
print "sorry, this hole was patched :)\n";
print "you have been logged.\n";
exit;
}

References

Ikonboard Remote File Disclosure Vulnerability

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