Skip to content
HighVulnerability

GHSA-37h2-6p4f-mp3q: Serena: Unauthenticated Flask dashboard on fixed port enables DNS rebinding → memory poisoning → RCE

Published
Record updated
View JSON
Affected
  • serena-agent < 1.5.2
Fixed in
1.5.2
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

Serena's built-in web dashboard exposes an unauthenticated Flask API on fixed TCP port 24282 (hardcoded as 0x5EDA in constants.py), with no authentication, no CSRF protection and no Host header validation. A DNS rebinding attack lets a malicious webpage write arbitrary content to the agent's persistent memory, which the agent later reads and acts on, reaching execute_shell_command, enabled by default through shell=True, for remote code execution. The source states that any user running Serena with the default configuration is affected, and the chain requires only that the victim visit a malicious webpage while Serena is running.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.