Posts Tagged ‘ zeroscience

SQLBuddy And webgrind Multiple XSS Vulnerabilities

webgrind suffers from a XSS vulnerability when parsing user input to the ‘dataFile’ parameter via GET method in the index.php script. Attackers can exploit this weakness to execute arbitrary HTML and script code in a user’s browser session.

Advisory details: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2012-5073.php
PoC: http://www.zeroscience.mk/codes/webgrind_xss.txt

SQL Buddy suffers from a XSS vulnerability when parsing user input to the ‘DATABASE’, ‘HOST’ and ‘USER’ parameters via POST method in ‘login.php’, and the ‘db’ parameter in ‘dboverview.php’ via GET method. Attackers can exploit these weaknesses to execute arbitrary HTML and script code in a user’s browser session.

Advisory details: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2012-5074.php
PoC: http://www.zeroscience.mk/codes/sqlbuddy_xss.txt

Manx cms.xml Multiple Vulnerabilities

(XSS) Input thru the GET parameters ‘limit’ and ‘search_folder’ in ‘ajax_get_file_listing.php’ are not sanitized allowing the attacker to execute HTML code into user’s browser session on the affected site.

(CRLF Injection/HTTP Response Splitting) Input passed to the POST parameter ‘editorChoice’ in ‘admin_blocks.php’ and ‘admin_pages.php’ and the POST parameter ‘theme’ in ‘admin_css.php’, ‘admin_js.php’ and ‘admin_templates.php’ is not properly sanitised before being returned to the user. This can be exploited to insert arbitrary HTTP headers, which are included in a response sent to the user.

(LFI/DT) Input passed via the ‘fileName’ parameter thru the simplexml_load_file() function is not properly verified in ‘/admin/admin_blocks.php’ and ‘/admin/admin_pages.php’ (post-auth) before being used to load files. This can be exploited to disclose the contents of arbitrary files via directory traversal attacks.

Advisories:
ZSL-2011-5058http://www.zeroscience.mk/en/vulnerabilities/ZSL-2011-5058.php
ZSL-2011-5059http://www.zeroscience.mk/en/vulnerabilities/ZSL-2011-5059.php
ZSL-2011-5060http://www.zeroscience.mk/en/vulnerabilities/ZSL-2011-5060.php

:):

net4visions.com Multiple Products Multiple Vulnerabilities

iGallery, iManager and iBrowser plugins for WYSIWYG editors like tinyMCE, SPAW, htmlAREA, Xinha and FCKeditor suffers from multiple vulnerabilities including: Reflected (Non-Persistent) Cross-Site Scripting, Local File Inclusion, File Disclosure, Arbitrary Deletion.

The iManager plugin has 3 different parameters which can trigger the mentioned above vulnerabilities. ‘d’, ‘lang’ and ‘dir’. iBrowser and iGallery use the same scripts and parameters for corresponding issues. ‘dir’ and ‘lang’. Advisories bellow:

ZSL-2011-5046iGallery Plugin v1.0.0 (dir) Remote Cross-Site Scripting Vulnerability
ZSL-2011-5045iManager Plugin v1.2.8 (dir) Remote Cross-Site Scripting Vulnerability
ZSL-2011-5044iBrowser Plugin v1.4.1 (dir) Remote Cross-Site Scripting Vulnerability
ZSL-2011-5043iManager Plugin v1.2.8 (d) Remote Arbitrary File Deletion Vulnerability
ZSL-2011-5042iManager Plugin v1.2.8 (lang) Local File Inclusion Vulnerability
ZSL-2011-5041iBrowser Plugin v1.4.1 (lang) Local File Inclusion Vulnerability

Multiple vulnerabilities in Pacer Edition CMS

Pacer Edition CMS suffers from multiple vulnerabilities including cross-site scripting, local file inclusion and arbitrary file deletion. You can view details of the issues on the following advisory links:

Pacer Edition CMS 2.1 (rm) Remote Arbitrary File Deletion Exploit [ZSL-2011-5017]
Pacer Edition CMS 2.1 Remote XSS POST Injection Vulnerability [ZSL-2011-5018]
Pacer Edition CMS 2.1 (l param) Local File Inclusion Vulnerability [ZSL-2011-5019]

Undefined 0001

http://liquidworm.deviantart.com/art/Undefined-0001-189090295

Grsecurity – Theoretical and Practical Application (OpenFest Conference)

OpenFest e единствената по рода си в България конференция, посветена на свободната култура, свободния софтуер и софтуера с отворен код, свободното споделяне на знания – фестивал на свободното творчество. OpenFest е ежегодна среща на всички почитатели, създатели, поддръжници и нови фенове на свободните изкуства и свободния софтуер.

Целта на OpenFest е да популяризира проекти, реализирани с помощта на свободен софтуер и софтуер с отворен код, както и да бъде форум за обмен на идеи и добри практики в областта. Същевременно организаторите всякога се стараят да дадат поле за изява и на свободното изкуство.

Емблемата на OpenFest е отворено за знания и информация човешко око, чийто мигли са лъчи на изгряващо слънце. Изгревът е символ на зараждаща се свобода. Автор на идеята и графичната реализация на тази символика е художникът-хакер Здравко Здравков.

Мотото на OpenFest е “Да споделим свободата!”

Първият Openfest се състои през 2003 година в София и оттогава досега фестивалът се провежда всяка година. Още от първото си провеждане OpenFest протича под патронажа на Президента на Република България.

Организатор на OpenFest е Фондация Отворени Проекти, чиито усилия всяка година намират подкрепата на цялата българска free/open source общност и на много партньори и приятели.

A presentation from Zero Science Lab team member Georgi Geshev held on 20-21st of November, 2010 at OpenFest – Sofia, Bulgaria.

Explaining the different features of grsecurity and enhancing Linux system security.

For more information about the OpenFest conference and speakers, visit:
http://openfest.org/about/
http://openfest.org/archive/openfest-2010/program/

w00t Georgieeee ! ;)

Native Instruments Multiple Products Multiple Vulnerabilities

Zero Science Lab has discovered multiple vulnerabilities in various products developed by Native Instruments. Upon the discoveries, we’ve contacted the vendor to report all the issues. Their technical support, at first, were confused about our e-mail sent to them, thinking that we have troubles using their software. As we explained to them in details in the next e-mail, about QA, about security bulletins, about public disclosure policy, the security industry etc. they finally forwarded the conversation e-mails to the “corresponding” department, which we think that they don’t even have any related team to respond for these kind of incidents. Anywayz, no one shows interest from Native Instruments, thus are informed about the date of public disclosure (this post).

We haven’t tested all the software packages that NI offers, but we think that the rest of the apps are vulnerable to the similar vulns that we found, maybe more.

Here are the advisories:

Native Instruments Service Center 2.2.5 Local Privilege Escalation VulnerabilityZSL-2010-4981
Native Instruments Massive 1.1.4 KSD File Handling Use-After-Free VulnerabilityZSL-2010-4980
Native Instruments Kontakt 4 Player NKI File Syntactic Analysis Buffer Overflow PoCZSL-2010-4979
Native Instruments Reaktor 5 Player v5.5.1 Heap Memory Corruption VulnerabilityZSL-2010-4978
Native Instruments Traktor Pro 1.2.6 Stack-based Buffer Overflow VulnerabilityZSL-2010-4977
Native Instruments Kontakt 4 Player v4.1.3 Insecure Library Loading VulnerabilityZSL-2010-4976
Native Instruments Service Center 2.2.5 Insecure Library Loading VulnerabilityZSL-2010-4975
Native Instruments Reaktor 5 Player v5.5.1 Insecure Library Loading VulnerabilityZSL-2010-4974
Native Instruments Guitar Rig 4 Player v4.1.1 Insecure Library Loading VulnerabilityZSL-2010-4973

Some SSs:

Exponent CMS v0.97 Multiple Vulnerabilities

Vendor: OIC Group Inc.
Product web page: http://www.exponentcms.org
Affected version: 0.97

Summary: Open Source Content Management System (PHP+MySQL).

Desc: Exponent CMS suffers from multiple vulnerabilities:

#1. Local File Inclusion / File Disclosure Vulnerability
#2. Arbitrary File Upload / File Modify Vulnerability
#3. Reflected Cross-Site Scripting Vulnerability

(1) LFI/FD occurs when input passed thru the params:
- “action”
- “expid”
- “ajax_action”
- “printerfriendly”
- “section”
- “module”
- “controller”
- “int”
- “src”
- “template”
- “page”
- “_common”

to the scripts:
- “index.php”
- “login_redirect.php”
- “mod_preview.php”
- “podcast.php”
- “popup.php”
- “rss.php”

is not properly verified before being used to include files.
This can be exploited to include files from local resources
with directory traversal attacks and URL encoded NULL bytes.

(2) AFU/E occurs due to an error in:
- “upload_fileuploadcontrol.php”
- “upload_standalone.php”
- “manifest.php”
- “delete.php”
- “edit.php”
- “manage.php”
- “rank_switch.php”
- “save.php”
- “view.php”
- “class.php”
- “deps.php”
- “delete_form.php”
- “delete_process.php”
- “search.php”
- “send_feedback.php”
- “viewday.php”
- “viewmonth.php”
- “viewweek.php”
- “testbot.php”
- “activate_bot.php”
- “deactivate_bot.php”
- “manage_bots.php”
- “run_bot.php”
- “class.php”
- “delete_board.php”
- “delete_post.php”
- “edit_board.php”
- “edit_post.php”
- “edit_rank.php”
- “monitor_all_boards.php”
- “monitor_board.php”
- “monitor_thread.php”
- “preview_post.php”
- “save_board.php”
- “save_post.php”
- “save_rank.php”
- “view_admin.php”
- “view_board.php”
- “view_rank.php”
- “view_thread.php”
- “banner_click.php”
- “ad_delete.php”
- “ad_edit.php”
- “ad_save.php”
- “af_delete.php”
- “af_edit.php”
- “af_save.php”
- “delete_article.php”
- “edit_article.php”
- “save_article.php”
- “save_submission.php”
- “submit_article.php”
- “view_article.php”
- “view_submissions.php”
- “coretasks.php”
- “htmlarea_tasks.php”
- “search_tasks.php”
- “clear_smarty_cache.php”
- “configuresite.php”
- “config_activate.php”
- “config_configuresite.php”
- “config_delete.php”
- “config_save.php”
- “examplecontent.php”
- “finish_install_extension.php”
- “gmgr_delete.php”
- “gmgr_editprofile.php”
- “gmgr_membership.php”
- “gmgr_savegroup.php”
- “gmgr_savemembers.php”

as it allows uploads of files with multiple extensions to a
folder inside the web root. This can be exploited to execute
arbitrary PHP code by uploading a specially crafted PHP script.

The uploaded files are stored in: [CMS_ROOT_HOST]\files

(3) XSS occurs when input passed to the params:
- “u”
- “expid”
- “ajax_action”
- “ss”
- “sm”
- “url”
- “rss_url”
- “lang”
- “toolbar”
- “section”
- “section_name”
- “src”

in scripts:
- “slideshow.js.php”
- “picked_source.php”
- “magpie_debug.php”
- “magpie_simple.php”
- “magpie_slashbox.php”
- “test.php”
- “fcktoolbarconfig.js.php”
- “section_linked.php”
- “index.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 context of an affected site.

Tested on: Microsoft Windows XP Professional SP3 (English)
Apache 2.2.14 (Win32)
MySQL 5.1.41
PHP 5.3.1

Vendor status: [09.10.2010] Vulnerabilities discovered.
[10.10.2010] Vendor contacted.
[13.10.2010] No reply from vendor.
[14.10.2010] Public advisory released.

Advisory ID: ZSL-2010-4969
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2010-4969.php

Vulnerabilities discovered by: Gjoko ‘LiquidWorm’ Krstic
liquidworm gmail com
Zero Science Lab – http://www.zeroscience.mk

Advisory: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2010-4969.php

Raw analysis (hi 5 John Leitch): Log_Exponent.txt (616 KB)

Zen Cart безбедносни предупредувања и закрпи

Тимот на Zen Ventures (http://www.zen-cart.com) во соработка со Zero Science Lab, објави безбедносни закрпи за заштита на своите корисници. Најновата верзија, 1.3.9g, објавена на 29.09.2010 е подобрената верзија од 1.3.9f, во која имаше ранливости од типот XSS, SQLi и LFI/FD.

Zero Science Lab своите безбедносни предупредувања за Zen Cart ќе ги објави на 01.10.2010 според полисата за објавување која сеуште не е јавно достапна.

Ref: Анализа на неколку веб апликации

Безбедносните предупредувања со ID: ZSL-2010-4966 и ZSL-2010-4967 со насловите: Zen Cart v1.3.9f Multiple Remote Vulnerabilities и Zen Cart v1.3.9f (typefilter) Local File Inclusion Vulnerability официјално ќе се објават на горенаведениот датум.

Првата закана е складиран XSS напад кој се наоѓа скоро секаде во панелот за администрација. Внесување или уредување на написи или вредности со дадениот стринг <script>alert(1)</script> во било која категорија ќе биде складиран и извршуван на секое посетување на таа категорија или страна од страна на авторизиран корисник на напнелот.

Втората закана е Blind SQL Injection која исто така се наоѓа во администрацискиот панел (акредитивни корисници), post-auth, во скриптата “option_name_manager.php” преку “option_order_by” параметарот кој не користи санирање на корисничко внесување што може да дојде до не сакани резултати од откривање на доверливи информации до целосна контрола врз базата на податоци и нејзина манипулација.

Доказ на концепт: http://127.0.0.1/admin/options_name_manager.php?option_page=1&option_order_by=/ [ EXPLOIT ]

Третата закана е ранливост од типот Local File Inclusion (LFI) или File Disclosure (FD) која им овозможува на напаѓачите на локално ниво да вметнуваат или вклучуваат своеволни податоци на локално ниво или гледање на содржински податоци со помош на пропатување низ директориуми (Directory Traversal) и URL енкодирани нулта бајти.
Ранливиот параметар “typefilter” не користи никаква проверка кога вклучува некој податок:

if (isset($_GET['typefilter'])) $typefilter = $_GET['typefilter'];

Доказ на концепт: http://127.0.0.1/index.php?typefilter=..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fboot.ini%00

Предупредување: http://www.zeroscience.mk/mk/vulnerabilities/ZSL-2010-4966.php
Предупредување: http://www.zeroscience.mk/mk/vulnerabilities/ZSL-2010-4967.php

Сурови логови од анализата:
- LOG1.txt
- LOG2.txt
- LOG3_with_zc_install_folder.txt
- LOG4.txt
- LOG5.txt

Time is on my side

Inspiration: sm, sm@zeroscience.mk
Photography: Ivan Jovanovic aka teppei, iki@zeroscience.mk
Camera Owner: Damjan Arsovski aka Sputnik, damjan@zeroscience.mk
B/W & Finesses: Gjoko Krstic aka LiquidWorm, gjoko@zeroscience.mk

Ref: http://liquidworm.deviantart.com/art/Time-is-on-my-side-by-teppei-176951584