WatchGuard FireWare OS sigd comp_start_cb Directory Traversal Arbitrary File Creation Vulnerability
The sigd service in WatchGuard FireWare OS fails to validate a user-supplied path when handling signature package archives, allowing an authenticated remote attacker to create arbitrary files. This could be chained with other vulnerabilities to execute code as the samld user.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to create arbitrary files on affected installations of WatchGuard FireWare OS. Authentication is required to exploit this vulnerability.
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 sigd service does not sanitise or canonicalise the path taken from a signature package archive before using it to create files.
Impact
An authenticated remote attacker could create arbitrary files, and by combining this with other vulnerabilities, could execute code as the samld user.
What the attacker needed
Authentication required; ability to supply a crafted signature package
The fix
The vulnerability was fixed by the vendor in an update.
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.
This is a directory traversal bug: a program takes a file path from user input but does not check that the path stays inside the intended folder. An attacker with a valid login can use special path characters to write files anywhere on the system, which might later let them run their own code.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.