CWE-1386: Insecure Operation on Windows Junction / Mount Point

CWE-1386 là gì?

CWE-1386 là Insecure Operation on Windows Junction / Mount Point. Lỗi phát sinh khi the product opens a file or directory, but it does not properly prevent the name from being associated with a junction or mount point to a destination that is outside of the intended control sphere. Hiện có 5 lỗ hổng trong kho dữ liệu liên quan đến CWE-1386 và không có lỗ hổng nào nằm trong danh mục khai thác thực tế của CISA.

Đang phân tích dữ liệu...

Thứ hạng OWASP Top 10-
Tổng số CVE liên quan (365 ngày)5
Mức trừu tượngCơ bản
Khả năng khai thác-

Số lượng lỗ hổng nằm trong CWE-1386

5 lỗ hổng

Không có dữ liệu

Chưa có dữ liệu về lỗ hổng trong CISA KEV cho CWE-1386

Định nghĩa chính thức

TheoMitre CWE

Đặc điểm

Dữ liệu MITRE CWE chính thức

Giai đoạn hình thành

  • Hiện thực hóa: The developer might not consider that when a program in Windows operates with different permissions than the executing user, the use of links, mount points, and junctions might cause the program to access files or directories that are outside of the intended storage location.

Hậu quả thường gặp

Dữ liệu MITRE CWE chính thức
Tác độngPhạm viDiễn giải
Đọc tệp hoặc thư mụcTính bí mậtRead arbitrary files by replacing a user-controlled folder with a mount point and additional hard links.
Thay đổi tệp hoặc thư mụcTính toàn vẹnModify an arbitrary file by replacing the rollback files in installer directories, as they can have the installer execute those rollbacks.
Thay đổi tệp hoặc thư mụcTính sẵn sàngEven if there is no control of contents, an arbitrary file delete or overwrite (when running as SYSTEM or admin) can be used for a permanent system denial-of-service, e.g. by deleting a startup configuration file that prevents the service from starting.

Biện pháp giảm thiểu rủi ro

Dữ liệu MITRE CWE chính thức
  1. Phân tách đặc quyền · Kiến trúc và thiết kếWhen designing software that will have different rights than the executer, the software should check that files that it is interacting with are not improper hard links or mount points. One way to do this in Windows is to use the functionality embedded in the following command: "dir /al /s /b" or, in PowerShell, use LinkType as a filter. In addition, some software uses authentication via signing to ensure that the file is the correct one to use. Make checks atomic with the file action, otherwise a TOCTOU weakness (CWE-367) can be introduced.

Lỗ hổng điển hình

Nguồn (2)

CWE™ Program, operated by The MITRE Corporation. Copyright © 2006–2026, The MITRE Corporation. The MITRE Corporation hereby grants you a non-exclusive, royalty-free license to use CWE for research, development, and commercial purposes. CWE Terms of Use.

Tìm hiểu thêm

Kiểm tra chuyên sâu cùng giải pháp quản lý rủi ro Web toàn diện

Giải pháp CyStack VulnScan liên tục phát hiện tài sản, xác minh lỗ hổng và giúp đội ngũ bảo mật ưu tiên khắc phục cho toàn bộ doanh nghiệp.