Secunia Research: CJ Tag Board Two PHP Code Injection Vulnerabilities

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

                     Secunia Research 29/08/2006

       - CJ Tag Board PHP Code Injection Vulnerabilities -

====================================================================== 
Table of Contents

Affected Software....................................................1
Severity.............................................................2
Vendor's Description of Software.....................................3
Description of Vulnerability.........................................4
Solution.............................................................5
Time Table...........................................................6
Credits..............................................................7
References...........................................................8
About Secunia........................................................9
Verification........................................................10

====================================================================== 
1) Affected Software 

CJ Tag Board 3.0

NOTE: Other versions may also be affected.

====================================================================== 
2) Severity 

Rating: Highly critical
Impact: System compromise
Where:  Remote

====================================================================== 
3) Vendor's Description of Software 

"The CJ Tag Board is a quick and easy way of communicating with
visitors to your website in real time."

Product Link:
http://www.cj-design.com/products/free_downloads/php_scripts/cjtagboard

====================================================================== 
4) Description of Vulnerability

Secunia Research has discovered some vulnerabilities in CJ Tag Board,
which can be exploited by malicious people to compromise a vulnerable
system.

1) Input passed to the "User-Agent" HTTP header in tag.php is not
properly sanitised before being stored. This can be exploited to 
inject arbitrary PHP code, which is executed when requesting the 
all.php script.

2) Input passed to the "banned" parameter in admin_index.php is not
properly sanitised before being stored. This can be exploited to 
inject arbitrary PHP code, but requires administrative user 
privileges.

====================================================================== 
5) Solution 

Use another product.

====================================================================== 
6) Time Table 

25/08/2006 - Vendor notified.
27/08/2006 - Vendor response (doesn't seem interested) 
29/08/2006 - Public disclosure.

====================================================================== 
7) Credits 

Discovered by Secunia Research.

====================================================================== 
8) References

No references are currently available.

====================================================================== 
9) About Secunia 

Secunia collects, validates, assesses, and writes advisories regarding 
all the latest software vulnerabilities disclosed to the public. These 
advisories are gathered in a publicly available database at the 
Secunia website:

http://secunia.com/

Secunia offers services to our customers enabling them to receive all 
relevant vulnerability information to their specific system 
configuration. 

Secunia offers a FREE mailing list called Secunia Security Advisories: 

http://secunia.com/secunia_security_advisories/

====================================================================== 
10) Verification 

Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2006-61/

Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/

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