Advisories

rembg through 2.0.88 SSRF Filter Bypass via /api/remove

Go back
Severity
medium
Date
Affecting
  • rembg <= 2.0.88

CWE
  • CWE-918 Server-Side Request Forgery (SSRF)
CVSS
6.9
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
Credit
Zachariah Mithani (AploSec)
Description
rembg through 2.0.88 contains a server-side request forgery filter bypass that allows unauthenticated attackers to reach internal hosts via the /api/remove URL parameter because _is_blocked_ip() does not block the 100.64.0.0/10 shared address range. Attackers can supply literal addresses, resolving hostnames, or redirects into that range to query carrier-grade NAT and cloud-internal services, including the Alibaba Cloud metadata service.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.