<?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>Sun, 18 Oct 2026 20:07:36 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-84313</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-84313</link>
      <description>&lt;p&gt;Nginx UI is a web user interface for the Nginx web server. Prior to 2.4.1, POST /api/otp_enroll and POST /api/finish_passkey_register are registered outside RequireSecureSession and accept a normal authenticated session without verifying the current password. An attacker with a stolen JWT can bind an attacker-controlled TOTP secret when the victim has not already enabled TOTP, or can register an attacker-controlled passkey because that path has no equivalent existing-enrollment guard. These changes create persistent account access that can survive a password change and interfere with the legitimate user&amp;#39;s authentication. This issue is fixed in version 2.4.1.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;Nginx UI is a web user interface for the Nginx web server. Prior to 2.4.1, POST /api/otp_enroll and POST /api/finish_passkey_register are registered outside RequireSecureSession and accept a normal authenticated session without verifying the current password. An attacker with a stolen JWT can bind an attacker-controlled TOTP secret when the victim has not already enabled TOTP, or can register an attacker-controlled passkey because that path has no equivalent existing-enrollment guard. These changes create persistent account access that can survive a password change and interfere with the legitimate user&amp;#39;s authentication. This issue is fixed in version 2.4.1.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-84313</guid>
    </item>
    <item>
      <title>GHSA-gfrc-g87h-7h5w — Nginx UI: TOTP / passkey enrolment requires no re-authentication, enabling persistent account takeover</title>
      <link>https://db.gcve.eu/vuln/ghsa-gfrc-g87h-7h5w</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: Nginx-UI&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;Endpoints that bind a TOTP secret (`POST /api/otp_enroll`) or register a WebAuthn passkey (`POST /api/finish_passkey_register`) for the *current* user require only a valid JWT. There is no current-password re-prompt and the routes are explicitly registered **outside** the `RequireSecureSession()` group. With only a stolen JWT, an attacker can attach their own second factor to the victim&amp;#39;s account, surviving any subsequent password rotation and locking the legitimate user out.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;`api/user/router.go:34-39` — note the routes registered *before* the secure-session group:&lt;/p&gt;
&lt;p&gt;```go
r.GET(&amp;#34;/otp_secret&amp;#34;, GenerateTOTP)
r.POST(&amp;#34;/otp_enroll&amp;#34;, EnrollTOTP)                     // ← outside RequireSecureSession
r.GET(&amp;#34;/begin_passkey_register&amp;#34;, BeginPasskeyRegistration)
r.POST(&amp;#34;/finish_passkey_register&amp;#34;, FinishPasskeyRegistration)  // ← outside RequireSecureSession&lt;/p&gt;
&lt;p&gt;o := r.Group(&amp;#34;&amp;#34;, middleware.RequireSecureSession())
{
    o.GET(&amp;#34;/otp_reset&amp;#34;, ResetOTP)                     // reset *is* protected — inconsistent
    ...
}
```&lt;/p&gt;
&lt;p&gt;`EnrollTOTP` (`api/user/otp.go:45-102`) only refuses if `cUser.EnabledOTP()` is already `true`; for any victim who has never enabled TOTP it accepts an attacker-supplied `Secret` and `Passcode` pair (the validator only checks that the passcode is a valid TOTP for the supplied secret — i.e., the attacker proves they know the secret they are submitting):&lt;/p&gt;
&lt;p&gt;```go
if cUser.EnabledOTP() { ... abort ... }
var twoFA struct {
    Secret   string `json:&amp;#34;secre…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: Nginx-UI&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;Endpoints that bind a TOTP secret (`POST /api/otp_enroll`) or register a WebAuthn passkey (`POST /api/finish_passkey_register`) for the *current* user require only a valid JWT. There is no current-password re-prompt and the routes are explicitly registered **outside** the `RequireSecureSession()` group. With only a stolen JWT, an attacker can attach their own second factor to the victim&amp;#39;s account, surviving any subsequent password rotation and locking the legitimate user out.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;`api/user/router.go:34-39` — note the routes registered *before* the secure-session group:&lt;/p&gt;
&lt;p&gt;```go
r.GET(&amp;#34;/otp_secret&amp;#34;, GenerateTOTP)
r.POST(&amp;#34;/otp_enroll&amp;#34;, EnrollTOTP)                     // ← outside RequireSecureSession
r.GET(&amp;#34;/begin_passkey_register&amp;#34;, BeginPasskeyRegistration)
r.POST(&amp;#34;/finish_passkey_register&amp;#34;, FinishPasskeyRegistration)  // ← outside RequireSecureSession&lt;/p&gt;
&lt;p&gt;o := r.Group(&amp;#34;&amp;#34;, middleware.RequireSecureSession())
{
    o.GET(&amp;#34;/otp_reset&amp;#34;, ResetOTP)                     // reset *is* protected — inconsistent
    ...
}
```&lt;/p&gt;
&lt;p&gt;`EnrollTOTP` (`api/user/otp.go:45-102`) only refuses if `cUser.EnabledOTP()` is already `true`; for any victim who has never enabled TOTP it accepts an attacker-supplied `Secret` and `Passcode` pair (the validator only checks that the passcode is a valid TOTP for the supplied secret — i.e., the attacker proves they know the secret they are submitting):&lt;/p&gt;
&lt;p&gt;```go
if cUser.EnabledOTP() { ... abort ... }
var twoFA struct {
    Secret   string `json:&amp;#34;secre…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-gfrc-g87h-7h5w</guid>
    </item>
  </channel>
</rss>
