---------------------------------------------------------------------- Did you know that a change in our assessment rating, exploit code availability, or if an updated patch is released by the vendor, is not part of this mailing-list? Click here to learn more: http://secunia.com/advisories/business_solutions/ ---------------------------------------------------------------------- TITLE: MKPortal Multiple Vulnerabilities SECUNIA ADVISORY ID: SA33560 VERIFY ADVISORY: http://secunia.com/advisories/33560/ CRITICAL: Moderately critical IMPACT: Cross Site Scripting, Manipulation of data, System access WHERE: >From remote SOFTWARE: MKPortal 1.x http://secunia.com/advisories/product/9502/ DESCRIPTION: Some vulnerabilities have been discovered in MKPortal, which can be exploited by malicious people to conduct cross-site scripting attacks, and malicious users to conduct SQL injection and script insertion attacks, and compromise a vulnerable system. 1) A vulnerability is caused due to the "upload_imm()" function in the modules/blog/index.php script failing to validate the types of uploaded files. This can be exploited to execute arbitrary PHP code by uploading a malicious PHP script with multiple extensions. 2) Input passed to the "template" and "template2" parameters in index.php (when "ind" is set to "blog" and "op" is set to "save_template") is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 3) Input passed to the "i" parameter in mkportal/modules/rss/handler_image.php is not 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 the context of an affected site. 4) Input passed to the "template" parameter in index.php (when "ind" is set to "blog" and "op" is set to "save_template") is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in the context of an affected site when the malicious post is viewed (e.g. in index.php when "ind" is set to "blog" and when "op" is set to "home"). 5) Input passed to the "ta" parameter in index.php (when "ind" is set to "reviews" and "op" is set to "update_file") is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in the context of an affected site when the malicious post is viewed (e.g. in index.php when "ind" is set to "reviews" and when "op" is set to "entry_view"). 6) Input passed to the "titlepage" parameter in index.php (when "ind" is set to "news" and "op" is set to "update_news") is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in the context of an affected site when the malicious post is viewed (e.g. in index.php when "ind" is set to "news" and when "op" is set to "news_show_category"). These vulnerabilities are confirmed in version 1.2.1. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly verified and sanitised. PROVIDED AND/OR DISCOVERED BY: Janek Vind a.k.a. waraxe ORIGINAL ADVISORY: http://www.waraxe.us/advisory-70.html ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/advisories/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/advisories/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------