{"id":63606,"date":"2025-08-09T13:34:17","date_gmt":"2025-08-09T13:34:17","guid":{"rendered":""},"modified":"2025-08-31T21:19:07","modified_gmt":"2025-09-01T03:19:07","slug":"cve-2025-51390-command-injection-vulnerability-in-totolink-n600r","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-51390-command-injection-vulnerability-in-totolink-n600r\/","title":{"rendered":"<strong>CVE-2025-51390: Command Injection Vulnerability in TOTOLINK N600R<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>A high severity vulnerability, labeled as CVE-2025-51390, has been identified in the TOTOLINK N600R V4.3.0cu.7647_B20210106. This vulnerability can allow potential attackers to execute arbitrary commands on the affected system, leading to serious consequences such as system compromises or data leakage. It is a concerning issue for all users and administrators who utilize the affected version of the TOTOLINK N600R, and immediate action is required to mitigate the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-54689-high-risk-php-remote-file-inclusion-vulnerability-in-urna\/\"  data-wpil-monitor-id=\"76653\">risks associated with this vulnerability<\/a>.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-51390<br \/>\nSeverity: Critical (CVSS: 9.8)<br \/>\nAttack Vector: Network<br \/>\nPrivileges Required: Low<br \/>\nUser Interaction: Required<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-8040-memory-safety-bugs-causing-potential-system-compromise-in-firefox-and-thunderbird\/\"  data-wpil-monitor-id=\"71390\">System compromise<\/a> or data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-575799890\" 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 N600R | V4.3.0cu.7647_B20210106<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-54418-codeigniter-command-injection-vulnerability-in-image-processing\/\"  data-wpil-monitor-id=\"71097\">command injection vulnerability<\/a> is located in the &#8216;setWiFiWpsConfig&#8217; function, specifically via the &#8216;pin&#8217; parameter. An attacker can manipulate this parameter to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-3626-critical-os-command-injection-vulnerability\/\"  data-wpil-monitor-id=\"71389\">inject and execute arbitrary commands<\/a>. This is possible due to insufficient <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-47982-improper-input-validation-vulnerability-in-windows-storage-vsp-driver-leading-to-privilege-escalation\/\"  data-wpil-monitor-id=\"75580\">input validation<\/a> and the use of user-supplied data in a command context.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-977691566\" 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>Below is a conceptual example of how the vulnerability might be exploited. The malicious <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-27031-memory-corruption-via-ioctl-commands-processing\/\"  data-wpil-monitor-id=\"71576\">command is injected via<\/a> the PIN parameter in a HTTP POST request.<\/p>\n<pre><code class=\"\" data-line=\"\">POST \/setWiFiWpsConfig HTTP\/1.1\nHost: target.example.com\nContent-Type: application\/json\n{ &quot;pin&quot;: &quot;; malicious_command_here ;&quot; }<\/code><\/pre>\n<p>In this example, the &#8220;;&#8221; is used to terminate the original command and initiate a new one. The &#8216;malicious_command_here&#8217; is where an attacker would insert their command, resulting in it being executed on the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-9408-server-side-request-forgery-attack-in-eclipse-glassfish\/\"  data-wpil-monitor-id=\"77346\">server side<\/a>.<\/p>\n<p><strong>Recommended Mitigation<\/strong><\/p>\n<p>Users are advised to apply the vendor-provided patch as soon as possible. If a patch cannot be applied immediately, the use of a Web Application Firewall (WAF) or an Intrusion Detection System (IDS) can serve as a temporary mitigation measure. These systems can help in monitoring, detecting, and <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-8059-critical-privilege-escalation-vulnerability-in-b-blocks-wordpress-plugin\/\"  data-wpil-monitor-id=\"76479\">blocking malicious activities related to this vulnerability<\/a>. However, they are not a permanent solution and updating to the patched version is strongly recommended to fully mitigate the risk.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview A high severity vulnerability, labeled as CVE-2025-51390, has been identified in the TOTOLINK N600R V4.3.0cu.7647_B20210106. This vulnerability can allow potential attackers to execute arbitrary commands on the affected system, leading to serious consequences such as system compromises or data leakage. It is a concerning issue for all users and administrators who utilize the affected [&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":[78],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-63606","post","type-post","status-publish","format-standard","hentry","category-uncategorized","attack_vector-injection"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/63606","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=63606"}],"version-history":[{"count":7,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/63606\/revisions"}],"predecessor-version":[{"id":69701,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/63606\/revisions\/69701"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=63606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=63606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=63606"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=63606"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=63606"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=63606"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=63606"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=63606"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=63606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}