{"id":59724,"date":"2025-07-29T07:51:43","date_gmt":"2025-07-29T07:51:43","guid":{"rendered":""},"modified":"2025-09-03T19:04:07","modified_gmt":"2025-09-04T01:04:07","slug":"cve-2025-51480-path-traversal-vulnerability-in-onnx-1-17-0","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2025-51480-path-traversal-vulnerability-in-onnx-1-17-0\/","title":{"rendered":"<strong>CVE-2025-51480: Path Traversal Vulnerability in ONNX 1.17.0<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The cybersecurity landscape is constantly evolving, and staying ahead of threats is a continuous challenge. One recent vulnerability, identified as CVE-2025-51480, is a path traversal vulnerability in ONNX 1.17.0. This <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-28946-php-remote-file-inclusion-vulnerability-in-bzotheme-printxtore\/\"  data-wpil-monitor-id=\"66178\">vulnerability allows attackers to overwrite arbitrary files<\/a> by supplying crafted external_data.location paths that contain traversal sequences. This effectively bypasses the intended directory restrictions, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-7793-critical-vulnerability-in-tenda-fh451-leading-to-system-compromise\/\"  data-wpil-monitor-id=\"68760\">leading to potential system<\/a> compromise or data leakage. It is crucial for users and <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-50067-critical-vulnerability-in-oracle-application-express-allowing-system-takeover\/\"  data-wpil-monitor-id=\"67940\">system administrators to understand the nature of this vulnerability<\/a> and take necessary steps to mitigate it.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2025-51480<br \/>\nSeverity: High (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-50160-heap-based-buffer-overflow-in-windows-rras-posing-system-compromise-risk\/\"  data-wpil-monitor-id=\"78558\">System compromise<\/a>, data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-2821020424\" 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>ONNX | 1.17.0<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The exploit works by taking advantage of a flaw in the external_data_helper.save_external_data function of ONNX 1.17.0. An attacker can manipulate the external_data.location path, which the ONNX software uses to save data, to include <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-54443-critical-path-traversal-vulnerability-in-samsung-electronics-magicinfo-9-server\/\"  data-wpil-monitor-id=\"67939\">path traversal<\/a> sequences. This can cause the software to write data to unintended locations, <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=\"76809\">overwriting existing files<\/a> or creating new ones. This could potentially lead to the execution of <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-6058-critical-arbitrary-file-upload-vulnerability-in-wpbookit-wordpress-plugin\/\"  data-wpil-monitor-id=\"66542\">arbitrary code or unauthorized data access if system files<\/a> are overwritten.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-4203928900\" 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>The following is a conceptual example of how the vulnerability might be exploited. The attacker crafts a JSON payload that includes a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-52452-critical-path-traversal-vulnerability-in-salesforce-tableau-server\/\"  data-wpil-monitor-id=\"68759\">path traversal<\/a> sequence in the external_data.location field:<\/p>\n<pre><code class=\"\" data-line=\"\">POST \/api\/save_data HTTP\/1.1\nHost: target.example.com\nContent-Type: application\/json\n{\n&quot;external_data&quot;: {\n&quot;location&quot;: &quot;..\/..\/..\/etc\/passwd&quot;,\n&quot;data&quot;: &quot;malicious_data&quot;\n}\n}<\/code><\/pre>\n<p>In this example, the server might end up saving the &#8220;malicious_data&#8221; to the &#8220;\/etc\/passwd&#8221; file, a <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-7401-critical-file-read-write-vulnerability-in-premium-age-verification-restriction-for-wordpress-plugin\/\"  data-wpil-monitor-id=\"66541\">critical system file<\/a> in Unix-like systems, potentially leading to system compromise.<\/p>\n<p><strong>Mitigation<\/strong><\/p>\n<p>The recommended mitigation for CVE-2025-51480 is to apply the vendor patch. This should resolve the vulnerability and prevent future exploitation. In case the patch cannot be applied immediately, using a Web Application Firewall (WAF) or Intrusion Detection System (IDS) to monitor and block suspicious requests can serve as a temporary mitigation. It is also recommended to always follow the principle of least privilege when setting file and directory permissions, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-43273-sandbox-restriction-bypass-vulnerability-in-macos-sequoia\/\"  data-wpil-monitor-id=\"72954\">restricting the potential impact of such vulnerabilities<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The cybersecurity landscape is constantly evolving, and staying ahead of threats is a continuous challenge. One recent vulnerability, identified as CVE-2025-51480, is a path traversal vulnerability in ONNX 1.17.0. This vulnerability allows attackers to overwrite arbitrary files by supplying crafted external_data.location paths that contain traversal sequences. This effectively bypasses the intended directory restrictions, leading [&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":[85],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-59724","post","type-post","status-publish","format-standard","hentry","category-uncategorized","attack_vector-directory-traversal"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/59724","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=59724"}],"version-history":[{"count":7,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/59724\/revisions"}],"predecessor-version":[{"id":70929,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/59724\/revisions\/70929"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=59724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=59724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=59724"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=59724"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=59724"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=59724"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=59724"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=59724"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=59724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}