{"id":38297,"date":"2025-05-15T05:55:56","date_gmt":"2025-05-15T05:55:56","guid":{"rendered":""},"modified":"2025-08-31T17:36:27","modified_gmt":"2025-08-31T23:36:27","slug":"cve-2025-45844-authenticated-stack-overflow-vulnerability-in-totolink-nr1800x","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-45844-authenticated-stack-overflow-vulnerability-in-totolink-nr1800x\/","title":{"rendered":"<strong>CVE-2025-45844: Authenticated Stack Overflow Vulnerability in TOTOLINK NR1800X<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The TOTOLINK NR1800X, a commonly used router, has been discovered to have a significant security vulnerability, identified as CVE-2025-45844. This weakness makes it possible for attackers to trigger a stack overflow by sending a maliciously crafted SSID parameter in the setWiFiBasicCfg function. This <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-45845-authenticated-stack-overflow-vulnerability-in-totolink-nr1800x\/\"  data-wpil-monitor-id=\"44786\">vulnerability affects all devices using the TOTOLINK<\/a> NR1800X V9.1.0u.6681_B20230703 firmware. The impact of this vulnerability could be high, allowing <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-4050-heap-corruption-in-google-chrome-devtools-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"43233\">potential system<\/a> compromise or data leakage, which could lead to unauthorized access to sensitive information or disruption of service.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-45844<br \/>\nSeverity: High (8.8 CVSS Score)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: Low<br \/>\nUser Interaction: Required<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-49126-critical-vulnerability-in-solid-edge-se2023-allows-for-potential-system-compromise\/\"  data-wpil-monitor-id=\"43499\">Potential system<\/a> compromise and data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-3427064065\" 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>TOTOLINK NR1800X | V9.1.0u.6681_B20230703<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The exploit takes advantage of a lack of proper <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-43559-coldfusion-improper-input-validation-vulnerability-leading-to-arbitrary-code-execution\/\"  data-wpil-monitor-id=\"49236\">input validation<\/a> in the setWiFiBasicCfg function of the TOTOLINK NR1800X firmware. By sending an exceptionally long SSID parameter, an attacker can trigger a stack overflow, overwriting memory and potentially allowing the execution of <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-38620-integer-overflow-vulnerabilities-in-gtkwave-3-3-115-leading-to-arbitrary-code-execution\/\"  data-wpil-monitor-id=\"43232\">arbitrary code<\/a> with the privileges of the currently logged in user.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-1187497346\" 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 a malicious HTTP <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47462-cross-site-request-forgery-vulnerability-in-ohidul-islam-challan-leading-to-privilege-escalation\/\"  data-wpil-monitor-id=\"43672\">request that could exploit this vulnerability<\/a>:<\/p>\n<pre><code class=\"\" data-line=\"\">POST \/setWiFiBasicCfg HTTP\/1.1\nHost: target.router.ip\nContent-Type: application\/x-www-form-urlencoded\nCookie: sessionid=&lt;valid session id&gt;\nssid=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...<\/code><\/pre>\n<p>In this example, &#8220;AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA&#8230;&#8221; represents a string that is long enough to trigger a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-49129-stack-overflow-vulnerability-in-solid-edge-se2023-allows-potential-system-compromise\/\"  data-wpil-monitor-id=\"43498\">stack overflow<\/a> in the setWiFiBasicCfg function.<br \/>\nPlease note that this is a simplified example. In a real-world scenario, an attacker would likely use a carefully crafted payload to overwrite specific parts of the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-55345-arbitrary-file-overwrite-and-remote-code-execution-vulnerability-in-codex-cli\/\"  data-wpil-monitor-id=\"76813\">stack<\/a> to gain control over the execution flow of the program.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The TOTOLINK NR1800X, a commonly used router, has been discovered to have a significant security vulnerability, identified as CVE-2025-45844. This weakness makes it possible for attackers to trigger a stack overflow by sending a maliciously crafted SSID parameter in the setWiFiBasicCfg function. This vulnerability affects all devices using the TOTOLINK NR1800X V9.1.0u.6681_B20230703 firmware. The [&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],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-38297","post","type-post","status-publish","format-standard","hentry","category-uncategorized","attack_vector-buffer-overflow"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/38297","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=38297"}],"version-history":[{"count":6,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/38297\/revisions"}],"predecessor-version":[{"id":69231,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/38297\/revisions\/69231"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=38297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=38297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=38297"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=38297"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=38297"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=38297"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=38297"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=38297"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=38297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}