Resources Provider
Monthly
Path traversal in the Signal K Server v2 resources API (signalk-server 2.0.0 through 2.33.x, with the bundled @signalk/resources-provider 1.0.0 through 1.5.2) allows remote attackers to read, write and delete files outside the configured resource storage root by supplying a %2F-encoded multi-level traversal in the resourceId of GET /signalk/v2/api/resources/:resourceType/:resourceId. On deployments with allow_readonly enabled the read is anonymous; on default deployments any readonly user token suffices. The advisory's exploitation chain reads <config>/security.json to obtain the HS256 JWT signing secret and password hashes, forges an administrator token, and then creates an Execute provider that runs shell commands with the server process privileges and persists across restarts; a working proof-of-concept script is included in the GitHub advisory and the reporter states it was reproduced independently, while CISA KEV status is not indicated in the available data. The vendor rates this 9.8 (AV:N/AC:L/PR:N/UI:N) and it is fixed in 2.34.0 and resources-provider 1.5.3.
Path traversal in the Signal K Server v2 resources API (signalk-server 2.0.0 through 2.33.x, with the bundled @signalk/resources-provider 1.0.0 through 1.5.2) allows remote attackers to read, write and delete files outside the configured resource storage root by supplying a %2F-encoded multi-level traversal in the resourceId of GET /signalk/v2/api/resources/:resourceType/:resourceId. On deployments with allow_readonly enabled the read is anonymous; on default deployments any readonly user token suffices. The advisory's exploitation chain reads <config>/security.json to obtain the HS256 JWT signing secret and password hashes, forges an administrator token, and then creates an Execute provider that runs shell commands with the server process privileges and persists across restarts; a working proof-of-concept script is included in the GitHub advisory and the reporter states it was reproduced independently, while CISA KEV status is not indicated in the available data. The vendor rates this 9.8 (AV:N/AC:L/PR:N/UI:N) and it is fixed in 2.34.0 and resources-provider 1.5.3.