Symfony allows internal address and port enumeration by NoPrivateNetworkHttpClient
Description
Published to the GitHub Advisory Database
Nov 6, 2024
Reviewed
Nov 6, 2024
Published by the National Vulnerability Database
Nov 6, 2024
Last updated
Nov 13, 2024
Description
When using the
NoPrivateNetworkHttpClient
, some internal information is still leaking during host resolution, which leads to possible IP/port enumeration.Resolution
The
NoPrivateNetworkHttpClient
now filters blocked IPs earlier to prevent such leaks.The fisrt patch for this issue is available here for branch 5.4.
The second one is available here for branch 5.4 also.
Credits
We would like to thank Linus Karlsson and Chris Smith for reporting the issue and Nicolas Grekas for providing the fix.
References