{"id":49239,"date":"2022-07-30T19:26:52","date_gmt":"2022-07-30T12:26:52","guid":{"rendered":"https:\/\/deepquest.code511.com\/blog\/2022\/07\/transposh-wordpress-translation-1-0-8-1-remote-code-execution-2\/"},"modified":"2022-07-30T19:26:52","modified_gmt":"2022-07-30T12:26:52","slug":"transposh-wordpress-translation-1-0-8-1-remote-code-execution-2","status":"publish","type":"post","link":"https:\/\/deepquest.code511.com\/blog\/2022\/07\/transposh-wordpress-translation-1-0-8-1-remote-code-execution-2\/","title":{"rendered":"Transposh WordPress Translation 1.0.8.1 Remote Code Execution"},"content":{"rendered":"<p>Transposh WordPress Translation versions 1.0.8.1 and below have a &#8220;save_transposh&#8221; action available at &#8220;\/wp-admin\/admin.php?page=tp_advanced&#8221; that does not properly validate the &#8220;Log file name&#8221; allowing an attacker with the &#8220;Administrator&#8221; role to specify a .php file as the log destination. Since the log file is stored directly within the &#8220;\/wp-admin&#8221; directory, executing arbitrary PHP code is possible by simply sending a crafted request that gets logged.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Transposh WordPress Translation versions 1.0.8.1 and below have a &#8220;save_transposh&#8221; action available at &#8220;\/wp-admin\/admin.php?page=tp_advanced&#8221; that does not properly validate the &#8220;Log file name&#8221; allowing an attacker with the &#8220;Administrator&#8221; role&#8230;<\/p>\n","protected":false},"author":439,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[43],"tags":[],"class_list":["post-49239","post","type-post","status-publish","format-standard","hentry","category-exploit"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4bBYZ-cOb","_links":{"self":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/49239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/users\/439"}],"replies":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/comments?post=49239"}],"version-history":[{"count":0,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/49239\/revisions"}],"wp:attachment":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/media?parent=49239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/categories?post=49239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/tags?post=49239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}