Quem audita também é auditado: o help desk que derrubou a instituição que avisa o mundo
The Dutch Institute for Vulnerability Disclosure's own Zammad help desk was compromised through a session hijack that led to remote code execution, followed by a local privilege escalation to root. An unauthenticated attacker could chain both flaws to gain full control of the server, though the affected version ranges are disputed by the vendor.
Published on d0u6ur45u.medium.com
O alvo foi o Zammad, plataforma de help desk e tickets usada por mais de duas mil organizações. Duas falhas:
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application kept the same session identifier across authentication instead of issuing a fresh one after login, so a value known before login stayed valid afterwards.
Impact
Chained, the flaws could give an unauthenticated attacker full control of the server, though network segmentation limited the damage and the vendor disputes the affected versions.
What the attacker needed
Unauthenticated network access; victim uses an attacker-known session id; victim logs in during the attack
The fix
The text says to update to the Zammad 7 series or take the instance offline, and to rotate the session identifier at login and on every privilege change.
How it was found
- The server hands out a session identifier before the user has proven who they are.
- The attacker forces the victim to use an identifier the attacker already knows.
- The victim logs in and the server keeps the same identifier, only marking the session as authenticated.
- The attacker, who already had the value, now holds a valid authenticated session.
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 write-up has not been written yet. The Original tab links to the source.
A help desk is the web tool where staff read and answer support tickets. Here the software that runs it handed out a session identifier (a temporary pass that keeps you logged in) before the person had actually logged in, so someone who knew that value could ride along once the real user signed in. From there the attacker could run commands on the server and then become the all-powerful administrator account.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.