Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2022-31088: Merge pull request from GHSA-r387-grjx-qgvw · LDAPAccountManager/lam@f1d5d04

LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. users, groups, DHCP settings) stored in an LDAP directory. In versions prior to 8.0 the user name field at login could be used to enumerate LDAP data. This is only the case for LDAP search configuration. This issue has been fixed in version 8.0.

CVE
#web#ldap#ssh#ssl

@@ -176,16 +176,9 @@ function pwd_hash($password, $enabled = true, $hashType = ‘SSHA’) { break; case 'PBKDF2-SHA512’: $iterations = 200000; if (function_exists(‘openssl_pbkdf2’)) { $salt = openssl_random_pseudo_bytes(16); $hashBinary = openssl_pbkdf2($password, $salt, 64, $iterations, ‘sha512’); $hash = “{PBKDF2-SHA512}${iterations}” . ‘$’ . base64_encode($salt) . ‘$’ . base64_encode($hashBinary); } else { $salt = generateSalt(16); $hashBinary = hex2bin(hash_pbkdf2('sha512’, $password, $salt, $iterations)); $hash = “{PBKDF2-SHA512}${iterations}” . ‘$’ . base64_encode($salt) . ‘$’ . base64_encode($hashBinary); } $salt = openssl_random_pseudo_bytes(16); $hashBinary = openssl_pbkdf2($password, $salt, 64, $iterations, ‘sha512’); $hash = “{PBKDF2-SHA512}${iterations}” . ‘$’ . base64_encode($salt) . ‘$’ . base64_encode($hashBinary); break; case 'MD5’: $hash = “{MD5}” . base64_encode(hex2bin(md5($password))); @@ -251,11 +244,7 @@ function getHashType(?string $hash): string { * @return array hash types */ function getSupportedHashTypes() { $hashes = array('CRYPT’, 'CRYPT-SHA512’, 'SHA’, 'SSHA’, 'MD5’, 'SMD5’, 'PLAIN’, 'SASL’, 'K5KEY’, 'LDAP_EXOP’, ‘ARGON2ID’); if (function_exists(‘openssl_pbkdf2’) || function_exists(‘hash_pbkdf2’)) { $hashes[] = 'PBKDF2-SHA512’; } return $hashes; return array('CRYPT’, 'CRYPT-SHA512’, 'SHA’, 'SSHA’, 'MD5’, 'SMD5’, 'PLAIN’, 'SASL’, 'K5KEY’, 'LDAP_EXOP’, 'ARGON2ID’, ‘PBKDF2-SHA512’); }
/** @@ -1576,8 +1565,12 @@ class moduleCache { * * @param String $name module name * @param String $scope module scope (e.g. user) * @return null|object module object */ public static function getModule($name, $scope) { public static function getModule($name, $scope): ?object { if (!ScopeAndModuleValidation::isValidModuleName($name) || !ScopeAndModuleValidation::isValidScopeName($scope)) { return null; } if (isset(self::$cache[$name . ‘:’ . $scope])) { return self::$cache[$name . ‘:’ . $scope]; } @@ -1598,10 +1591,7 @@ class moduleCache { * @return int random number */ function getRandomNumber() { if (function_exists(‘openssl_random_pseudo_bytes’)) { return abs(hexdec(bin2hex(openssl_random_pseudo_bytes(5)))); } return abs(mt_rand()); return abs(hexdec(bin2hex(openssl_random_pseudo_bytes(5)))); }
/**

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