FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

buildbot -- CRLF injection in Buildbot login and logout redirect code

Affected packages
py27-buildbot < 1.8.0
py35-buildbot < 1.8.0
py36-buildbot < 1.8.0
py37-buildbot < 1.8.0

Details

VuXML ID 5536ea5f-6814-11e9-a8f7-0050562a4d7b
Discovery 2019-01-29
Entry 2019-04-26

A CRLF can be injected in Location header of /auth/login and /auth/logout This is due to lack of input validation in the buildbot redirection code.

It was not found a way to impact Buildbot product own security through this vulnerability, but it could be used to compromise other sites hosted on the same domain as Buildbot. - cookie injection a master domain (ie if your buildbot is on buildbot.buildbot.net, one can inject a cookie on *.buildbot.net, which could impact another website hosted in your domain) - HTTP response splitting and cache poisoning (browser or proxy) are also typical impact of this vulnerability class, but might be impractical to exploit.

References

CVE Name CVE-2019-7313
URL https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-7313
URL https://github.com/buildbot/buildbot/wiki/CRLF-injection-in-Buildbot-login-and-logout-redirect-code