<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 30 Sep 2026 21:33:44 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-62669</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-62669</link>
      <description>&lt;p&gt;Grav Login Plugin adds login, basic ACL, and session wide messages to Grav. Prior to 3.8.11, the Grav Login plugin login.regenerate2FASecret task checks only that the pending-session user exists rather than requiring $user-&amp;gt;authorized. After submitting a victim&amp;#39;s correct password, an attacker can invoke taskRegenerate2FASecret() during the pending TOTP challenge, overwrite twofa_secret, read the replacement secret from the response, calculate a valid code, and complete authentication without the victim&amp;#39;s second factor. This issue is fixed in version 3.8.11.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;Grav Login Plugin adds login, basic ACL, and session wide messages to Grav. Prior to 3.8.11, the Grav Login plugin login.regenerate2FASecret task checks only that the pending-session user exists rather than requiring $user-&amp;gt;authorized. After submitting a victim&amp;#39;s correct password, an attacker can invoke taskRegenerate2FASecret() during the pending TOTP challenge, overwrite twofa_secret, read the replacement secret from the response, calculate a valid code, and complete authentication without the victim&amp;#39;s second factor. This issue is fixed in version 3.8.11.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-62669</guid>
    </item>
    <item>
      <title>GHSA-7mgc-c7pq-3rr3 — Grav: 2FA Bypass via 'login.regenerate2FASecret' - Secret Rotation During Pending Challenge</title>
      <link>https://db.gcve.eu/vuln/ghsa-7mgc-c7pq-3rr3</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Packagist: getgrav/grav&lt;/p&gt;
&lt;p&gt;### Summary
When 2FA is enabled on an account, submitting correct credentials authenticates the user but leaves them unauthorized pending TOTP verification. During this pending-challenge window, the `login.regenerate2FASecret` task which requires only `$user-&amp;gt;exists()`, not `$user-&amp;gt;authorized`  can be called without a CSRF nonce. It overwrites the victim&amp;#39;s `twofa_secret` on disk with an attacker-chosen value, returns the new secret in the JSON response, and the attacker computes a valid TOTP code to complete the 2FA flow. The second factor is **reduced to password-only**. The exploit was confirmed live after enabling 2FA to a user.&lt;/p&gt;
&lt;p&gt;### Details
Four code locations in login plugin v3.8.10 enable the chain:&lt;/p&gt;
&lt;p&gt;**1. Session user set even with 2FA pending**  
`user/plugins/login/login.php` - `userLogin()` assigns `$session-&amp;gt;user = $user` before TOTP verification completes. This makes `$this-&amp;gt;grav[&amp;#39;user&amp;#39;]` point to the victim in the pending-challenge window.&lt;/p&gt;
&lt;p&gt;**2. `taskRegenerate2FASecret` - no authorization check**  
`user/plugins/login/classes/Controller.php`&lt;/p&gt;
&lt;p&gt;```php
public function taskRegenerate2FASecret()
{
    $user = $this-&amp;gt;grav[&amp;#39;user&amp;#39;];
    if ($user-&amp;gt;exists()) {                  // ← only checks exists(), NOT authorized()
        $secret = $twoFa-&amp;gt;createSecret();
        $user-&amp;gt;twofa_secret = $secret;      // overwrites victim&amp;#39;s secret on disk
        $user-&amp;gt;save();
        $json_response = [
            &amp;#39;status&amp;#39; =&amp;gt; &amp;#39;success&amp;#39;,
            &amp;#39;image&amp;#39; =&amp;gt; $image,
            &amp;#39;se…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Packagist: getgrav/grav&lt;/p&gt;
&lt;p&gt;### Summary
When 2FA is enabled on an account, submitting correct credentials authenticates the user but leaves them unauthorized pending TOTP verification. During this pending-challenge window, the `login.regenerate2FASecret` task which requires only `$user-&amp;gt;exists()`, not `$user-&amp;gt;authorized`  can be called without a CSRF nonce. It overwrites the victim&amp;#39;s `twofa_secret` on disk with an attacker-chosen value, returns the new secret in the JSON response, and the attacker computes a valid TOTP code to complete the 2FA flow. The second factor is **reduced to password-only**. The exploit was confirmed live after enabling 2FA to a user.&lt;/p&gt;
&lt;p&gt;### Details
Four code locations in login plugin v3.8.10 enable the chain:&lt;/p&gt;
&lt;p&gt;**1. Session user set even with 2FA pending**  
`user/plugins/login/login.php` - `userLogin()` assigns `$session-&amp;gt;user = $user` before TOTP verification completes. This makes `$this-&amp;gt;grav[&amp;#39;user&amp;#39;]` point to the victim in the pending-challenge window.&lt;/p&gt;
&lt;p&gt;**2. `taskRegenerate2FASecret` - no authorization check**  
`user/plugins/login/classes/Controller.php`&lt;/p&gt;
&lt;p&gt;```php
public function taskRegenerate2FASecret()
{
    $user = $this-&amp;gt;grav[&amp;#39;user&amp;#39;];
    if ($user-&amp;gt;exists()) {                  // ← only checks exists(), NOT authorized()
        $secret = $twoFa-&amp;gt;createSecret();
        $user-&amp;gt;twofa_secret = $secret;      // overwrites victim&amp;#39;s secret on disk
        $user-&amp;gt;save();
        $json_response = [
            &amp;#39;status&amp;#39; =&amp;gt; &amp;#39;success&amp;#39;,
            &amp;#39;image&amp;#39; =&amp;gt; $image,
            &amp;#39;se…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-7mgc-c7pq-3rr3</guid>
    </item>
  </channel>
</rss>
