{"id":22253,"date":"2025-04-12T14:57:58","date_gmt":"2025-04-12T14:57:58","guid":{"rendered":""},"modified":"2025-08-08T01:13:44","modified_gmt":"2025-08-08T07:13:44","slug":"cve-2024-0575-critical-stack-based-buffer-overflow-vulnerability-in-totolink-lr1200gb","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2024-0575-critical-stack-based-buffer-overflow-vulnerability-in-totolink-lr1200gb\/","title":{"rendered":"<strong>CVE-2024-0575: Critical Stack-based Buffer Overflow Vulnerability in Totolink LR1200GB<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>A critical vulnerability has been discovered in the Totolink LR1200GB router running firmware version 9.1.0u.6619_B20230130. This vulnerability, identified as CVE-2024-0575, impacts the &#8216;setTracerouteCfg&#8217; function within the &#8216;\/cgi-bin\/cstecgi.cgi&#8217; file. The manipulation of the &#8216;command&#8217; argument can lead to a stack-based <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-47992-critical-buffer-overflow-vulnerability-exploit-in-freeimage-library\/\"  data-wpil-monitor-id=\"25567\">buffer overflow<\/a>, potentially compromising the system or leading to data leakage. This <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-48253-critical-memory-corruption-vulnerability-in-linux-kernel\/\"  data-wpil-monitor-id=\"25797\">vulnerability is of particular concern due to its critical<\/a> severity, the potential for remote exploitation, and the lack of response from the vendor regarding this disclosure.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2024-0575<br \/>\nSeverity: Critical (CVSS: 8.8)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: Low<br \/>\nUser Interaction: None<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-0573-critical-vulnerability-in-totolink-lr1200gb-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"29026\">Potential system<\/a> compromise or data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-50904846\" 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-2024-0572-critical-vulnerability-in-totolink-lr1200gb-leading-to-system-compromise\/\"  data-wpil-monitor-id=\"28969\">Totolink LR1200GB<\/a> | 9.1.0u.6619_B20230130<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-3495-critical-security-vulnerability-in-delta-electronics-commgr-due-to-insufficiently-randomized-session-ids\/\"  data-wpil-monitor-id=\"35983\">vulnerability stems from insufficient<\/a> input validation in the &#8216;setTracerouteCfg&#8217; function of the file &#8216;\/cgi-bin\/cstecgi.cgi. By manipulating the &#8216;command&#8217; argument, an attacker could trigger a stack-based <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-49471-a-comprehensive-overview-of-the-critical-buffer-overflow-vulnerability\/\"  data-wpil-monitor-id=\"25799\">buffer overflow<\/a>. This happens when more data is written to a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-41687-stack-based-buffer-overflow-vulnerability-in-u-link-management-api\/\"  data-wpil-monitor-id=\"68298\">buffer located on the stack<\/a> than it&#8217;s designed to hold. The overflow can overwrite adjacent memory locations, potentially leading to arbitrary <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-49589-the-critical-remote-code-execution-vulnerability-targeting-web-based-applications\/\"  data-wpil-monitor-id=\"26031\">code execution<\/a> or system crashes.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-166373177\" 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>A conceptual example of how this <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-50123-exploitable-vulnerability-in-hozard-alarm-system-sms-authentication\/\"  data-wpil-monitor-id=\"35984\">vulnerability could be exploited<\/a> is as follows:<\/p>\n<pre><code class=\"\" data-line=\"\">POST \/cgi-bin\/cstecgi.cgi HTTP\/1.1\nHost: target_router_IP\nContent-Type: application\/x-www-form-urlencoded\noperation=setTracerouteCfg&amp;command=&lt;malicious_payload&gt;<\/code><\/pre>\n<p>In this example, &#8220; would be replaced with a carefully crafted string designed to cause a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-40714-critical-buffer-overflow-vulnerability-in-iot-devices\/\"  data-wpil-monitor-id=\"25818\">buffer overflow<\/a>. Please note that this is a conceptual example and should not be used for malicious purposes.<\/p>\n<p><strong>Mitigation<\/strong><\/p>\n<p>Until the vendor provides a patch for this vulnerability, it is recommended to use a Web Application Firewall (WAF) or Intrusion Detection System (IDS) as a temporary mitigation strategy. These systems can help detect and <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-35989-integer-overflow-vulnerability-in-gtkwave-s-lxt2-zlib-block-allocation\/\"  data-wpil-monitor-id=\"41947\">block attempts to exploit this vulnerability<\/a>. However, this should only be seen as a temporary solution, and users are urged to apply the official patch from the vendor as soon as it becomes available.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview A critical vulnerability has been discovered in the Totolink LR1200GB router running firmware version 9.1.0u.6619_B20230130. This vulnerability, identified as CVE-2024-0575, impacts the &#8216;setTracerouteCfg&#8217; function within the &#8216;\/cgi-bin\/cstecgi.cgi&#8217; file. The manipulation of the &#8216;command&#8217; argument can lead to a stack-based buffer overflow, potentially compromising the system or leading to data leakage. This vulnerability is 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":[],"product":[],"attack_vector":[86,80],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-22253","post","type-post","status-publish","format-standard","hentry","category-uncategorized","attack_vector-buffer-overflow","attack_vector-rce"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/22253","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=22253"}],"version-history":[{"count":11,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/22253\/revisions"}],"predecessor-version":[{"id":61738,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/22253\/revisions\/61738"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=22253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=22253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=22253"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=22253"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=22253"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=22253"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=22253"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=22253"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=22253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}