Nasa fprime
F´: Arbitrary File Write in Svc::FileUplink via attacker-controlled StartPacket.destinationPath
F´ (F Prime) is a framework that enables development and deployment of spaceflight and other embedded software applications. Prior to 4.3.0, Svc::FileUplink handling of Fw::FilePacket::StartPacket destination paths FileUplink copies the packet-controlled destinationPath and opens it for writing without canonicalization or confinement to an upload directory. When a peer able to send file-uplink packets supplies an absolute, traversing, or otherwise attacker-selected writable destination path, files can be created or overwritten at attacker-selected writable filesystem locations, affecting integrity and potentially availability. This issue is fixed in version 4.3.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.3.0
Fixed in 4.3.0
Mitigation
Upgrade fprime to 4.3.0 or later.
References
- Vendor advisory github.com/nasa/fprime/security/advisories/GHS…
- Patch github.com/nasa/fprime/pull/5320
- Patch github.com/nasa/fprime/commit/4c8b9c0b8692b0d4…
1 more
- Release notes github.com/nasa/fprime/releases/tag/v4.3.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.