Posted in Security Operations
Two security bugs I shipped in ITriage v0.10.0, and what fixed them in v0.10.1 ITriage is my open-source IT…
jp101216 — Security Engineer | Offensive Security Research & Custom C2 Tooling
Two security bugs I shipped in ITriage v0.10.0, and what fixed them in v0.10.1
ITriage is my open-source IT triage and repair tool (Rust, Windows and Linux). Technicians often run it elevated on a PC where a standard user is signed in, so anything that user controls is attack surface. A review before announcing 0.10.0 found two places where a new feature forgot that.
1. Privileged delete through a junction (CWE-59)
The new Clear Teams cache fix empties a folder in the console user's profile. Every folder on the way to it belongs to that user. Swap one for a junction, and an elevated ITriage would delete whatever it pointed at. The fix now walks each folder from the profile down and refuses if any is a link or reparse point.
2. Autostart from a path users can write to
Watch mode registers ITriage to start at every sign-in, as whoever signs in. Installed from a copy in Downloads or a folder at the root of C:, that file could be swapped, and the replacement would run as every user, administrators included. --install-watch now checks the file and every parent folder, and refuses unless only administrators can change them.
Both needed a local user plus a technician's elevated run, and I know of no one affected. Both have regression tests now.
The lesson: the right check already existed in the codebase both times. The temp cleanup refused links, and elevated runs already validated program paths. The bug was new code not calling them.
What 0.10 adds for defenders and the desk:
• Policy blocks: which ASR, AppLocker, WDAC, AppArmor or SELinux rule stopped a program
• Live CRL checks on machine certificates, before an expired CRL breaks 802.1X and VPN for everyone
• Kerberos tickets still encrypted with RC4
• Wired 802.1X failures and NAC quarantine
• Watch mode, and a banner when a run matches a known incident
Still untested: a real junction on desktop Windows, and a real clinical workstation.
Release notes: https://github.com/jp101216/ITriage/releases/tag/v0.10.1
(Screenshot is the app's sample data.)

3 reactions · 0 comments