{"id":33899,"date":"2025-04-30T02:03:47","date_gmt":"2025-04-30T02:03:47","guid":{"rendered":""},"modified":"2025-09-26T20:58:55","modified_gmt":"2025-09-27T02:58:55","slug":"cve-2025-3820-critical-buffer-overflow-vulnerability-in-tenda-w12-and-i24-routers","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-3820-critical-buffer-overflow-vulnerability-in-tenda-w12-and-i24-routers\/","title":{"rendered":"<strong>CVE-2025-3820: Critical Buffer Overflow Vulnerability in Tenda W12 and i24 Routers<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The vulnerability identified as CVE-2025-3820 is a critical security flaw found in Tenda W12 and i24 router models with firmware versions 3.0.0.4(2887) and 3.0.0.5(3644). This vulnerability allows for a stack-based buffer overflow that can be exploited remotely by a malicious actor. It is a significant threat due to its high CVSS severity score of 8.8 and the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32849-vulnerability-in-telecontrol-server-basic-leads-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"39572\">potential for system<\/a> compromise or data leakage.<br \/>\nDue to the public disclosure of this exploit, it is now widely accessible to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-28169-unencrypted-broadcasts-lead-to-potential-man-in-the-middle-attacks-on-byd-qin-plus-dm-i-dilink-os\/\"  data-wpil-monitor-id=\"40647\">potential attackers<\/a>, making every router with the affected versions an active target. Therefore, it is crucial for users of these routers to understand the nature of the <a href=\"https:\/\/www.ameeba.com\/blog\/uh-cybersecurity-camps-a-crucial-step-towards-securing-our-digital-future\/\"  data-wpil-monitor-id=\"39571\">vulnerability<\/a> and take immediate steps to mitigate it.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-3820<br \/>\nSeverity: Critical (8.8)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: None<br \/>\nUser Interaction: None<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32857-sql-injection-vulnerability-in-telecontrol-server-basic-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"39868\">Potential system<\/a> compromise and data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-59261223\" class=\"ameeb-content-2 ameeb-entity-placement\"><div style=\"border-left: 4px solid #555; padding-left: 20px; margin: 48px 0; font-family: Roboto, sans-serif; color: #ffffff; line-height: 1.6; max-width: 700px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 20px; font-weight: 600; display: flex; align-items: center;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 8px;\">\r\n      <img decoding=\"async\" src=\"https:\/\/www.ameeba.com\/blog\/wp-content\/uploads\/2025\/10\/Best-App-icon-Ameeba.png\" alt=\"Ameeba Chat Icon\" style=\"width: 40px; height: 40px;\" \/>\r\n    <\/a>\r\n    A new way to communicate\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 12px;\">\r\n    Ameeba Chat is built on encrypted identity, not personal profiles.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 16px;\">\r\n    Message, call, share files, and coordinate with identities kept separate.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 20px;\">\r\n    <li>\u2022 Encrypted identity<\/li>\r\n    <li>\u2022 Ameeba Chat authenticates access<\/li>\r\n    <li>\u2022 Aliases and categories<\/li>\r\n    <li>\u2022 End-to-end encrypted chat, calls, and files<\/li>\r\n    <li>\u2022 Secure notes for sensitive information<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px;\">\r\n    Private communication, rethought.\r\n  <\/p>\r\n\r\n  <div style=\"display: flex; flex-wrap: wrap; gap: 12px;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\/download\" style=\"background-color: #ffffff; color: #000000; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Download Ameeba Chat<\/a>\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 6px; font-weight: 500;\">Learn More<\/a>\r\n  <\/div>\r\n<\/div>\r\n<\/div>\n<p>Product | Affected Versions<\/p>\n<p><a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-4007-critical-stack-based-buffer-overflow-vulnerability-in-tenda-w12-and-i24\/\"  data-wpil-monitor-id=\"41318\">Tenda W12<\/a> | 3.0.0.4(2887), 3.0.0.5(3644)<br \/>\n<a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-3803-critical-vulnerability-in-tenda-w12-and-i24-3-0-0-4-3-0-0-5-resulting-in-stack-based-buffer-overflow\/\"  data-wpil-monitor-id=\"41552\">Tenda i24<\/a> | 3.0.0.4(2887), 3.0.0.5(3644)<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The exploit takes advantage of a stack-based <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-28024-buffer-overflow-vulnerability-in-totolink-a810r-v4-1-2cu-5182-b20201026\/\"  data-wpil-monitor-id=\"39570\">buffer overflow vulnerability<\/a> in the `cgiSysUplinkCheckSet` function of the `bin\/httpd` file in the affected routers. By manipulating the `hostIp1\/hostIp2` arguments, an attacker can cause the buffer to overflow, potentially allowing them to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-40446-arbitrary-code-execution-vulnerability-in-forkosh-mime-tex\/\"  data-wpil-monitor-id=\"39867\">execute arbitrary code<\/a> on the device or cause a denial of service.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-1823621265\" class=\"ameeb-content ameeb-entity-placement\"><div class=\"poptin-embedded\" data-id=\"f6b387694f681\"><\/div>\r\n\r\n\r\n\r\n\r\n\r\n<\/div>\n<p>Here is a conceptual example of an HTTP <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-1305-cross-site-request-forgery-csrf-vulnerability-in-newsblogger-wordpress-theme\/\"  data-wpil-monitor-id=\"42560\">request that might exploit this vulnerability<\/a>:<\/p>\n<pre><code class=\"\" data-line=\"\">POST \/cgi-bin\/httpd?cgiSysUplinkCheckSet HTTP\/1.1\nHost: [Target IP]\nContent-Type: application\/x-www-form-urlencoded\nhostIp1=192.168.1.1&amp;hostIp2=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA<\/code><\/pre>\n<p>In this example, the `hostIp2` parameter is filled with an excessive number of &#8216;A&#8217; characters, causing the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-3619-critical-heap-buffer-overflow-vulnerability-in-google-chrome-codecs\/\"  data-wpil-monitor-id=\"40061\">buffer to overflow<\/a>.<br \/>\nPlease note that this is a conceptual example and should not be used for malicious purposes. The actual exploit may require more complex manipulation, including the use of specific shellcode, to achieve successful execution.<\/p>\n<p><strong>Remediation<\/strong><\/p>\n<p>Affected users should apply the vendor-provided <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-49002-critical-vulnerability-in-dataease-bypassing-patch-for-cve-2025-32966\/\"  data-wpil-monitor-id=\"84753\">patch as soon as possible to mitigate this vulnerability<\/a>. In the meantime, users can <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-31100-unrestricted-file-upload-leads-to-web-shell-deployment-in-mojoomla-school-management\/\"  data-wpil-monitor-id=\"84752\">deploy a Web<\/a> Application Firewall (WAF) or Intrusion Detection System (IDS) to monitor and block potential exploit attempts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The vulnerability identified as CVE-2025-3820 is a critical security flaw found in Tenda W12 and i24 router models with firmware versions 3.0.0.4(2887) and 3.0.0.5(3644). This vulnerability allows for a stack-based buffer overflow that can be exploited remotely by a malicious actor. It is a significant threat due to its high CVSS severity score of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[1],"tags":[],"vendor":[103],"product":[104],"attack_vector":[86,87],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-33899","post","type-post","status-publish","format-standard","hentry","category-uncategorized","vendor-apache","product-apache-httpd","attack_vector-buffer-overflow","attack_vector-dos"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/33899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/comments?post=33899"}],"version-history":[{"count":8,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/33899\/revisions"}],"predecessor-version":[{"id":77537,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/33899\/revisions\/77537"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=33899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=33899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=33899"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=33899"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=33899"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=33899"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=33899"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=33899"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=33899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}