(0Day) Honeywell Saia PG5 Controls Suite Directory Traversal Remote Code Execution Vulnerability
A directory traversal flaw in the parsing of ZIP files allows an attacker to write files to arbitrary locations, leading to remote code execution. The target must visit a malicious page or open a malicious file.
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Honeywell Saia PG5 Controls Suite. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application fails to validate or sanitise file paths extracted from ZIP archives before using them in file operations, allowing path traversal.
Impact
An attacker could execute arbitrary code in the context of the current user, but the victim must first visit a malicious page or open a malicious file.
What the attacker needed
Victim opens a malicious file; victim visits a malicious page
The fix
The vulnerability should be fixed by properly validating user-supplied paths before using them in file operations, but the vendor did not respond and no fix is mentioned.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When a program unpacks a ZIP file, it uses the file names inside to decide where to save each file. If it doesn't check those names carefully, an attacker can craft a ZIP that makes the program save files outside the intended folder, potentially overwriting important files. This can let the attacker run their own code on the victim's computer.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.