In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Insufficient Session Validation vulnerabilities in an interactive lesson.
Start learningUpgrade zendframework/zendframework to version 2.3.4, 2.2.9 or higher.
Affected versions of zendframework/zendframework are vulnerable to Insufficient Session Validation.
Zend\Session session validators do not work as expected if set prior to the start of a session.
The implication is that subsequent calls to Zend\Session\SessionManager#start() (in later requests, assuming a session was created) will not have any validator metadata attached, which causes any validator metadata to be re-built from scratch, thus marking the session as valid.
An attacker is thus able to simply ignore session validators such as RemoteAddr or HttpUserAgent, since the "signature" that these validators check against is not being stored in the session.