Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2023-2341: fixed xss on login page (#14975) · pimcore/pimcore@66f1089

Cross-site Scripting (XSS) - Generic in GitHub repository pimcore/pimcore prior to 10.5.21.

CVE
#xss#csrf#git#auth

Expand Up

@@ -29,6 +29,7 @@

use Pimcore\Http\ResponseHelper;

use Pimcore\Logger;

use Pimcore\Model\User;

use Pimcore\Security\SecurityHelper;

use Pimcore\Tool;

use Pimcore\Tool\Authentication;

use Symfony\Component\HttpFoundation\RedirectResponse;

Expand Down Expand Up

@@ -114,7 +115,7 @@ public function loginAction(Request $request, CsrfProtectionHandler $csrfProtect

$params[‘csrfTokenRefreshInterval’] = ((int)$session_gc_maxlifetime - 60) * 1000;

if ($request->get(‘too_many_attempts’)) {

$params[‘error’] = $request->get(‘too_many_attempts’);

$params[‘error’] = SecurityHelper::convertHtmlSpecialChars($request->get(‘too_many_attempts’));

}

if ($request->get(‘auth_failed’)) {

$params[‘error’] = 'error_auth_failed’;

Expand Down

Related news

GHSA-fq95-rx4q-qgg2: Cross-site Scripting (XSS) in Admin Login too many attempts notice

### Impact Malicious JavaScript has access to all the same objects as the rest of the web page, including access to cookies and local storage, which are often used to store session tokens. If an attacker can obtain a user's session cookie, they can then impersonate that user. Furthermore, JavaScript can read and make arbitrary modifications to the contents of a page being displayed to a user. Therefore, XSS in conjunction with some clever social engineering opens up a lot of possibilities for an attacker. ### Patches Update to version 10.5.21 or apply this patch manually https://github.com/pimcore/pimcore/commit/66f1089fb1b9bcd575bfce9b1d4abb0f0499df11.patch ### Workarounds Apply patch https://github.com/pimcore/pimcore/commit/66f1089fb1b9bcd575bfce9b1d4abb0f0499df11.patch manually. ### References https://huntr.dev/bounties/cf3901ac-a649-478f-ab08-094ef759c11d/

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