REDHAT-BUG-2483157: Low severity Red Hat Quay config-tool vulnerability
The Quay config-tool's LDAP and SMTP validation functions in pkg/lib/shared/validators.go make outbound connections to user-supplied endpoints with no IP/host filtering. ValidateEmailServer calls net.DialTimeout to the configured mail server, and ValidateLDAPServer calls ldap.DialURL to the configured LDAP URI. An attacker with config editor access (HTTP Basic Auth on the config-tool editor, Quay <= 3.16) can exploit these to perform internal network reconnaissance from the Quay pod's network position. The config editor web application was removed in Quay 3.17, limiting the attack vector to CLI or container startup in newer versions. The LDAP validator also accepts the ldapi:// scheme and reflects LDAP result codes in error messages. The GitLab OAuth validator separately exposes clientsecret in URL querystrings (CWE-598).
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2483157?
The severity of REDHAT-BUG-2483157 is classified as low.
How do I fix REDHAT-BUG-2483157?
To fix REDHAT-BUG-2483157, ensure that you implement IP/host filtering for the outbound connections made by the Quay config-tool.
What are the potential risks associated with REDHAT-BUG-2483157?
The potential risks of REDHAT-BUG-2483157 include unauthorized access to sensitive data due to lack of validation on outbound connections.
What functions are affected by REDHAT-BUG-2483157?
The functions affected by REDHAT-BUG-2483157 are ValidateEmailServer and ValidateLDAPServer in the Quay config-tool.
Can REDHAT-BUG-2483157 impact email and LDAP security?
Yes, REDHAT-BUG-2483157 can impact email and LDAP security due to the lack of proper validation for user-supplied endpoints.