{"sourceHref": "https://packetstormsecurity.com/files/download/125351/VL-1209.txt", "sourceData": "`Document Title: \n=============== \nCNNVD Gov CN #1 - Filter Bypass & Persistent Vulnerability \n \n \nReferences (Source): \n==================== \nhttp://www.vulnerability-lab.com/get_content.php?id=1209 \n \n \nRelease Date: \n============= \n2014-02-21 \n \n \nVulnerability Laboratory ID (VL-ID): \n==================================== \n1209 \n \n \nCommon Vulnerability Scoring System: \n==================================== \n5.5 \n \n \nProduct & Service Introduction: \n=============================== \nCNNVD (China National Vulnerability Database of Information Security) is the most famous chinese vulnerability database of the east. \nThe website and web-application is self-coded content management system and the program is connected to the chinese gov cyber security agency. \n \nCopy of the Vendor Homepage: http://www.cnnvd.org.cn/vulnerability ) \n \n \nAbstract Advisory Information: \n============================== \nThe Vulnerability Laboratory Research Team discovered a filter bypass and persistent input validation web vulnerability in the official China National Vulnerability Database of Information Security. \n \n \nVulnerability Disclosure Timeline: \n================================== \n2014-02-19: Researcher Notification & Coordination (Benjamin Kunz Mejri) \n2014-02-20: Vendor Notification (CNNVD Security Team) \n2014-02-20: Vendor Response/Feedback (CNNVD Security Team) \n2014-02-21: Vendor Fix/Patch (CNNVD Developer Team) \n2014-02-21: Public Disclosure (Vulnerability Laboratory) \n \n \nDiscovery Status: \n================= \nPublished \n \n \nAffected Product(s): \n==================== \nChina Information Security Evaluation Center \nProduct: China National Vulnerability Database of Information Security (Gov) 2014 Q1 \n \n \nExploitation Technique: \n======================= \nRemote \n \n \nSeverity Level: \n=============== \nHigh \n \n \nTechnical Details & Description: \n================================ \nA filter bypass and persistent web vulnerability has been discovered in the official China National Vulnerability Database of Information Security. \nThe filter bypass allows remote attackers to bypass the regular web filter validation of the cms by usage of prepared malicious and encoded script codes. \nThe persistent input validation web vulnerability allows remote attackers to inject own malicious persistent script codes on the application-side of the \nvulnerable module. \n \nThe vulnerability is located in the edit formular POST method request. The vulnerable parameter value are `cont_details` and `displayitem`. Remote \nattackers and privileged user accounts are able to inject own malicious script codes on the application-side. The attack vector is persistent and the \ninjection request method is POST. The validation of the web formular does not encode base64 strings in html object tags which results in the persistent \nexecution after the include to the item list via moderation. Attackers can encode the advisory in a special crafted plain format to provoke a public \nexecution after the inject. The security risk of the filter bypass and persistent input validation web vulnerability is estimated as high(+) with a cvss \n(common vulnerability scoring system) count of 5.5(+)|(-)5.6. \n \nExploitation of the filter bypass and persistent input validation web vulnerability requires no privileged application user account but a privileged \nmoderator web-application user account with low user interaction (verifiy/activate issue). Successful exploitation of the vulnerability results in \nfilter validation bypass and session hijacking, persistent phishing, persistent external redirect and persistent manipulation of affected or \nconnected module context. \n \nVulnerable Module(s): \n[+] ../vulnerability/show \n \nVulnerable Parameter(s): \n[+] cont_details > displayitem \n \nAffected Module(s): \n[+] ../show/cv_id/ \n \n \nProof of Concept (PoC): \n======================= \nThe filter bypass issue and persistent input validation web vulnerability can be exploited by remote attackers without privileged application user account \nbut a privileged moderator web-application user account with low user interaction (verifiy/activate issue). For security demonstration or to reproduce the \nvulnerability follow the provided information and steps below to continue. \n \nPoC: ../cv_id/2014020225 \n \n<tr> \n<td colspan=\"2\" valign=\"top\"><h3><img src=\"/Public/images/cnnvd3_12_24.jpg\" alt=\"\" height=\"33\" width=\"693\"></h3> \n<div class=\"cont_details\"> \n<p class=\"displayitem\">SeaMonkey\u548cThunderbird\u90fd\u662f\u7531\u7f8e\u56fdMozilla\u57fa\u91d1\u4f1a\u5f00\u53d1\u3002SeaMonkey\u662f\u4e00\u5957\u514d\u8d39\u3001\u5f00\u6e90\u4ee5\u53ca\u8de8\u5e73\u53f0\u7684\u7f51\u7edc\u5957\u88c5\u8f6f\u4ef6\u3002 \nThunderbird\u662f\u4eceMozilla Application Suite\u4e2d\u72ec\u7acb\u51fa\u6765\u7684\u4e00\u5957\u7535\u5b50\u90ae\u4ef6\u5ba2\u6237\u7aef\u8f6f\u4ef6\uff0c\u652f\u6301IMAP\u3001POP\u90ae\u4ef6\u534f\u8bae\u4ee5\u53caHTML\u90ae\u4ef6\u683c\u5f0f\u3002 \n<br> Mozilla Thunderbird 17.x\u81f317.0.8\u7248\u672c\uff0cThunderbird ESR 17.x\u81f317.0.10\u7248\u672c\uff0cSeaMonkey \n2.19\u53ca\u4e4b\u524d\u7684\u7248\u672c\u4e2d\u5b58\u5728\u8de8\u7ad9\u811a\u672c\u6f0f\u6d1e\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u901a\u8fc7\u521b\u5efa\u5305\u542bdata: URL\u7684<[PERISSTNET INJECTED SCRIPT CODE!]>\u5143\u7d20\u7684\u7535\u5b50\u90ae\u4ef6\u6d88\u606f\u5229\u7528\u8be5\u6f0f\u6d1e\u6ce8\u5165\u4efb\u610fWeb\u811a\u672c\u6216HTML\u3002</p> \n</div></td> \n</tr> \n \n \nReference(s): \nhttp://www.cnnvd.org.cn/vulnerability/show/cv_id/2014020225 \n \nNote: The vulnerability was part of the vulnerability exchange partners program between the cnnvd and vulnerability-labs. \n \n \nSolution - Fix & Patch: \n======================= \nThe vulnerability can be patched by a secure encode and parse of the vulnerable cont_details > displayitem class values. \nRestrict the description input fields and disallow script codes like frames, alerts and other script code tags. \nEncode also the description output website of the ../show/cv_id/ to prevent execution of already included and wrong encoded advisories in the cnnvd database. \n \n \nSecurity Risk: \n============== \nThe security risk of the filter bypass issue and the persistent input validation web vulnerability is estimated as medium(+). \n \n \nCredits & Authors: \n================== \nVulnerability Laboratory [Research Team] - Benjamin Kunz Mejri (bkm@evolution-sec.com) [www.vulnerability-lab.com] \n \n \nDisclaimer & Information: \n========================= \nThe information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties, \neither expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability- \nLab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business \nprofits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some \nstates do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation \nmay not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases \nor trade with fraud/stolen material. \n \nDomains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com \nContact: admin@vulnerability-lab.com - research@vulnerability-lab.com - admin@evolution-sec.com \nSection: www.vulnerability-lab.com/dev - forum.vulnerability-db.com - magazine.vulnerability-db.com \nSocial: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab \nFeeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php \n \nAny modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. \nPermission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other \nmedia, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and \nother information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), \nmodify, use or edit our material contact (admin@vulnerability-lab.com or research@vulnerability-lab.com) to get a permission. \n \nCopyright \u00a9 2014 | Vulnerability Laboratory [Evolution Security] \n \n \n \n-- \nVULNERABILITY LABORATORY RESEARCH TEAM \nDOMAIN: www.vulnerability-lab.com \nCONTACT: research@vulnerability-lab.com \n \n`\n", "edition": 1, "references": [], "modified": "2014-02-22T00:00:00", "hash": "7858e2c80e143fee137234189fc388c6d43620b2b92ffa9047fdf03d3f8de2c7", "cvelist": [], "history": [], "bulletinFamily": "exploit", "href": "https://packetstormsecurity.com/files/125351/CNNVD-Cross-Site-Scripting.html", "description": "", "id": "PACKETSTORM:125351", "reporter": "Benjamin Kunz Mejri", "lastseen": "2016-11-03T10:25:02", "published": "2014-02-22T00:00:00", "enchantments": {"vulnersScore": 4.3}, "objectVersion": "1.2", "type": "packetstorm", "cvss": {"vector": "NONE", "score": 0.0}, "title": "CNNVD Cross Site Scripting", "viewCount": 0, "hashmap": [{"hash": "708697c63f7eb369319c6523380bdf7a", "key": "bulletinFamily"}, {"hash": "d41d8cd98f00b204e9800998ecf8427e", "key": "cvelist"}, {"hash": "d4be9c4fc84262b4f39f89565918568f", "key": "cvss"}, {"hash": "d41d8cd98f00b204e9800998ecf8427e", "key": "description"}, {"hash": "7ebda646f5ca4960ab21b27bd77a8696", "key": "href"}, {"hash": "a484c1160fda9c7bec04f3206e30fb4c", "key": "modified"}, {"hash": "56765472680401499c79732468ba4340", "key": "objectVersion"}, {"hash": "a484c1160fda9c7bec04f3206e30fb4c", "key": "published"}, {"hash": "d41d8cd98f00b204e9800998ecf8427e", "key": "references"}, {"hash": "6a4580f8d384b081c29618396fe7e2da", "key": "reporter"}, {"hash": "8b282e30ccbb4e55863ca95f16d57667", "key": "sourceData"}, {"hash": "ad5c584ae38af7d32d83f3f769d9a12c", "key": "sourceHref"}, {"hash": "da45a60e59ce21173669d3f365f5820e", "key": "title"}, {"hash": "6466ca3735f647eeaed965d9e71bd35d", "key": "type"}]}