<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-01T02:34:04.831423+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/fkie_cve-2026-62669</id>
    <title>fkie_cve-2026-62669</title>
    <updated>2026-10-01T02:34:04.848683+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>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-&gt;authorized. After submitting a victim'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's second factor. This issue is fixed in version 3.8.11.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-62669"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-7mgc-c7pq-3rr3</id>
    <title>GHSA-7mgc-c7pq-3rr3 — Grav: 2FA Bypass via 'login.regenerate2FASecret' - Secret Rotation During Pending Challenge</title>
    <updated>2026-10-01T02:34:04.848769+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Packagist: getgrav/grav</p>
<p>### 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-&gt;exists()`, not `$user-&gt;authorized`  can be called without a CSRF nonce. It overwrites the victim'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.</p>
<p>### Details
Four code locations in login plugin v3.8.10 enable the chain:</p>
<p>**1. Session user set even with 2FA pending**  
`user/plugins/login/login.php` - `userLogin()` assigns `$session-&gt;user = $user` before TOTP verification completes. This makes `$this-&gt;grav['user']` point to the victim in the pending-challenge window.</p>
<p>**2. `taskRegenerate2FASecret` - no authorization check**  
`user/plugins/login/classes/Controller.php`</p>
<p>```php
public function taskRegenerate2FASecret()
{
    $user = $this-&gt;grav['user'];
    if ($user-&gt;exists()) {                  // ← only checks exists(), NOT authorized()
        $secret = $twoFa-&gt;createSecret();
        $user-&gt;twofa_secret = $secret;      // overwrites victim's secret on disk
        $user-&gt;save();
        $json_response = [
            'status' =&gt; 'success',
            'image' =&gt; $image,
            'se…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-7mgc-c7pq-3rr3"/>
  </entry>
</feed>
