Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Exploits-HackingTools
[Top] [All Lists]

[UNIX] JSBoard Arbitrary File Reading

Subject: [UNIX] JSBoard Arbitrary File Reading
Date: 23 Jan 2005 16:07:40 +0200
The following security advisory is sent to the securiteam mailing list, and can 
be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html 

- - - - - - - - -



  JSBoard Arbitrary File Reading
------------------------------------------------------------------------


SUMMARY

 <http://kldp.net/projects/jsboard/> JSBoard is "one of most widely used 
web BBS applications in Korea".

Due to improper input filtering by JSBoard a remote attacker can include 
arbitrary local files in the response the server returns, thus disclosing 
them.

DETAILS

Vulnerable Systems:
 * JSBoard version 2.0.9 and prior

Immune Systems:
 * JSBoard version 2.0.10 or newer

PHP has a feature that will discard any input values containing NULL 
characters whenever the item magic_quotes_gpc has been set to off. Because 
JSBoard session.php doesn't sanitize the $table variable, a malicious 
attacker can use it read arbitrary files.

Vulnerable code:
include_once "include/print.php";
parse_query_str();
$opt = $table ? "&table=$table" : "";
$opts = $table ? "?table=$table" : "";
..snip...

Proof of Concept:
http://[victim]/session.php?logins=true&m=logout&table=../../../../../../etc/passwd%00

Solution:
Upgrade to JSBoard version 2.0.10 or newer, available from:  
<http://kldp.net/frs/download.php/1729/jsboard-2.0.10.tar.gz> 
http://kldp.net/frs/download.php/1729/jsboard-2.0.10.tar.gz

Disclosure Timeline:
2004-12-31 Vulnerability found.
2004-12-31 JSBoard developer notified.
2005-01-02 Developer confirmed.
2005-01-02 Update version released.
2005-01-20 Official release.


ADDITIONAL INFORMATION

The information has been provided by  <mailto:advisory@stgsecurity.com> 
SSR Team.



======================================== 


This bulletin is sent to members of the SecuriTeam mailing list. 
To unsubscribe from the list, send mail with an empty subject line and body to: 
list-unsubscribe@securiteam.com 
In order to subscribe to the mailing list, simply forward this email to: 
list-subscribe@securiteam.com 


==================== 
==================== 

DISCLAIMER: 
The information in this bulletin is provided "AS IS" without warranty of any 
kind. 
In no event shall we be liable for any damages whatsoever including direct, 
indirect, incidental, consequential, loss of business profits or special 
damages. 




<Prev in Thread] Current Thread [Next in Thread>
  • [UNIX] JSBoard Arbitrary File Reading, SecuriTeam <=