TCMS version 100728 suffers from file content disclosure, cross site scripting, local file inclusion and remote SQL injection vulnerabilities.
f974e4a6f72f2c28051cebdf018a6eee9d29e847905d69433d67001e9be424e1
=====================================
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§ion=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§ion=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§ion=style&action=editStylesheet&name=./../../../../../../../tmp/test.php