magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.56k stars 9.32k forks source link

Can't login to admin backend, since new security patch 2.4.4-p8 #38699

Closed Eddcapone closed 6 months ago

Eddcapone commented 6 months ago

Sometimes e.g. after the weekend, we suddenly can't login into the admin area / backend of our shop, since installing this security patch: https://helpx.adobe.com/security/products/magento/apsb24-18.html

We need to delete our cookies to be able to login again.

Error:

Argument #1 ($datetime) must be of type string, null given in /vendor/magento/module-security/Model/AdminSessionInfo.php:136

https://github.com/magento/magento2/blob/9721cc22eb32482d82e5e3d275fe3a0221d8b750/app/code/Magento/Security/Model/AdminSessionInfo.php#L136

This is how it used to be in 2.4-develop:

    $lastUpdatedTime = $lastUpdatedTime === null ? 0 : strtotime($lastUpdatedTime);

I don't have information on how to reproduce this.

m2-assistant[bot] commented 6 months ago

Hi @Eddcapone. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

m2-assistant[bot] commented 6 months ago

Hi @engcom-Dash. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:


engcom-Dash commented 6 months ago

Hi @Eddcapone

Thanks for reporting and collaboration.

Can you please share the details steps to reproduce the issue and screenshots in order for us to reproduce the issue accurately.

Thanks.

Eddcapone commented 6 months ago

@engcom-Dash As written here. I don't have informations on how to reproduce this. We just knows that it happens to us since we installed the patch. Last time it happend after the weekend.

engcom-Dash commented 6 months ago

Hi @Eddcapone

Thanks for reporting and collaboration.

We have a similar issue - 38704

Hence, we are considering this as a duplicate ticket and closing this ticket.

Eddcapone commented 6 months ago

@engcom-Dash Please explain how it is remotely similar. It has nothing to do with our issue.