Advisories

mPDF through 8.3.2 SSRF via gopher:// and dict:// URLs in CurlHttpClient

Go back
Severity
medium
Date
Affecting
  • mPDF <= 8.3.2

CWE
  • CWE-918 Server-Side Request Forgery (SSRF)
CVSS
6.3
CVSS V4 Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Credit
Zachariah Mithani (AploSec)
Description
mPDF through 8.3.2 contains a server-side request forgery vulnerability that allows attackers to reach internal services by supplying gopher:// or dict:// resource URLs in rendered HTML or CSS. CurlHttpClient::sendRequest passes these URLs to cURL without setting CURLOPT_PROTOCOLS, letting attackers send chosen bytes to arbitrary hosts and ports such as Redis or Memcached.

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.