Untriaged
Lemmy: Unauthenticated SSRF via file_type query parameter injection in image endpoint
Lemmy, a link aggregator and forum for the fediverse, is vulnerable to server-side request forgery via a dependency on activitypub_federation, a framework for ActivityPub federation in Rust. Prior to version 0.19.16, the GET /api/v4/image/{filename} endpoint is vulnerable to unauthenticated SSRF through parameter injection in the file_type query parameter. An attacker can inject arbitrary query parameters into the internal request to pict-rs, including the proxy parameter which causes pict-rs to fetch arbitrary URLs. This issue has been patched in version 0.19.16.
References
-
https://github.com/LemmyNet/lemmy/security/advisories/GHSA-jvxv-2jjp-jxc3 x_refsource_CONFIRMexploit
Affected products
lemmy
- ==< 0.19.16
Matching in nixpkgs
pkgs.lemmy-ui
Building a federated alternative to reddit in rust
pkgs.lemmy-help
CLI for generating vim help docs from emmylua comments
Package maintainers
-
@figsoda figsoda <figsoda@pm.me>
-
@georgyo George Shammas <george@shamm.as>
-
@billewanick Bill Ewanick <bill@ewanick.com>
-
@happysalada Raphael Megzari <raphael@megzari.com>