Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2022-1849: regenerate session on user update · filegator/filegator@fcd3995

Session Fixation in GitHub repository filegator/filegator prior to 7.8.0.

CVE
#git#auth

@@ -53,7 +53,7 @@ public function user(): ?User

if ($user) {

foreach ($this->getUsers() as $u) {

if ($u[‘username’] == $user->getUsername() && $hash == $u[‘password’]) {

if ($u[‘username’] == $user->getUsername() && $hash == $u[‘password’].$u[‘permissions’].$u[‘homedir’].$u[‘role’]) {

return $user;

}

}

@@ -70,7 +70,7 @@ public function authenticate($username, $password): bool

if ($u[‘username’] == $username && $this->verifyPassword($password, $u[‘password’])) {

$user = $this->mapToUserObject($u);

$this->store($user);

$this->session->set(self::SESSION_HASH, $u[‘password’]);

$this->session->set(self::SESSION_HASH, $u[‘password’].$u[‘permissions’].$u[‘homedir’].$u[‘role’]);

return true;

}

Related news

GHSA-47vg-483w-hp3m: Improper user session handling in filegator

Session Fixation in GitHub repository filegator/filegator prior to 7.8.0.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907