Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA18293

TinyPHPForum Multiple Vulnerabilities
Secunia Advisory SA18293
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2006-01-05
Last Update 2009-04-02
   
Popularity 7,394 views
Comments 0 comments

Criticality level Highly criticalHighly critical
Impact Security Bypass
Cross Site Scripting
Exposure of system information
Exposure of sensitive information
System access
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Unpatched
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
Remediation status Secunia VIM
   
Software:
TinyPHPForum 3.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2006-0102 CVSS available in Customer Area
CVE-2006-0103 CVSS available in Customer Area
CVE-2006-0104 CVSS available in Customer Area
CVE-2006-1898 CVSS available in Customer Area
CVE-2006-7063 CVSS available in Customer Area
  

Description

Some vulnerabilities and a security issue have been reported in TinyPHPForum, which can be exploited by malicious people to conduct cross-site scripting and script insertion attacks, bypass certain security restrictions, disclose sensitive information, and compromise a vulnerable system.

1) Input passed to the URL of a link when posting a message isn't properly verified before being used. This can be exploited to inject arbitrary JavaScript code, which will be executed in a user's browser session in context of an affected site when a link with the "javascript:" URI handler is followed in a malicious message.

2) The problem is that user credentials are stored insecurely in the "users" directory inside the web root. This can be exploited to disclose users' encrypted passwords and other information.

3) Input passed to the "uname" parameter in "profile.php" when viewing a profile isn't properly sanitised before being used to view user content. This can be exploited to disclose the content of arbitrary files via directory traversal attacks.

Successful exploitation requires that "magic_quotes_gpc" is disabled.

4) Input passed to the "uname" parameter in "profile.php" and "error.php", the "query" parameter in search.php, and the "siteName", "title", and "style" parameters in header.php isn't properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

Some other parameters when creating new users and topics may also be affected.

5) Input passed to the "fid" parameter in action.php and the "f" parameter in split.php isn't properly sanitised before being used to create files. This can be exploited to create a malicious PHP script inside the web root.

6) Input passed via the "a" and "img" BBcode tags when posting isn't properly sanitised before being used. This can be exploited to inject arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious user data is viewed.

7) The problem is that it is possible to gain administrative privileges by setting the "makeadmin" parameter to "true" when updating the profile via updatepf.php.

8) The updatepf.php script writes arbitrary data received via e.g. the "uskin" parameter to arbitrary files specified via the "uname" parameter. This can be exploited to write and execute arbitrary PHP code via specially crafted parameters passed to the affected script.

NOTE: This vulnerability also affects version 3.61.

The vulnerabilities and the security issue are reported in version 3.6. Other versions may also be affected.


Solution
Use another product.

Provided and/or discovered by
1-3) Aliaksandr Hartsuyeu
4) Hessam M.Salehi, Iran Hackerz Security Team
Additional information provided by Sirdarckcat.
5-7) Sirdarckcat
8) brain[pillow]

Changelog
Further details available in Customer Area

Original Advisory
1-3) http://evuln.com/vulns/14/summary.html
4-7) http://lists.grok.org.uk/pipermail/full-disclosure/2006-July/048316.html
8) http://milw0rm.com/exploits/8342

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: TinyPHPForum Multiple Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability