#24456Information disclosure during backend login
Description
In case a wrong username is submitted other HTTP headers are sent, than
in case only the password is wrong. This provides an attacker more
information than intended.
I tracked down this problem to the various session_start() calls, which
also send HTTP headers by default. If the submitted username exists, a
php session is started to get the challange out of the session
(compareUident()). This sends out some HTTP headers which will then
partly be overridden by header() calls (sendNoCacheHeaders()) with the
same HTTP headers (both happening in t3lib_userauth).
OTRS: 2011010210000017
Reporter: Sebastian Schinzel
(issue imported from #M16894)
Reviews 8
- main 5007[BUGFIX] Don't unnecessarily start PHP session
- TYPO3_4-5 3739[BUGFIX] Information disclosure during backend login
- TYPO3_4-5 5070[BUGFIX] Don't unnecessarily start PHP session
- main 3740[BUGFIX] Information disclosure during backend login
- TYPO3_4-3 3737[BUGFIX] Information disclosure during backend login
- TYPO3_4-3 5072[BUGFIX] Don't unnecessarily start PHP session
- TYPO3_4-4 5071[BUGFIX] Don't unnecessarily start PHP session
- TYPO3_4-4 3738[BUGFIX] Information disclosure during backend login