<?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>Tue, 20 Oct 2026 22:42:48 +0000</lastBuildDate>
    <item>
      <title>bdu:2026-16623</title>
      <link>https://db.gcve.eu/vuln/bdu:2026-16623</link>
      <description>bdu:2026-16623</description>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/bdu:2026-16623</guid>
    </item>
    <item>
      <title>fkie_cve-2026-84312</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-84312</link>
      <description>&lt;p&gt;Nginx UI is a web user interface for the Nginx web server. Prior to 2.4.1, GetCasdoorUri uses the configured Casdoor application name as a constant OAuth state value and CasdoorCallback does not compare the submitted state with a value bound to the initiating browser session. An unauthenticated attacker can cause a victim&amp;#39;s browser to complete an attacker-controlled Casdoor authorization flow, and the callback can mint a Nginx UI session for the identity returned by that authorization code. 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, GetCasdoorUri uses the configured Casdoor application name as a constant OAuth state value and CasdoorCallback does not compare the submitted state with a value bound to the initiating browser session. An unauthenticated attacker can cause a victim&amp;#39;s browser to complete an attacker-controlled Casdoor authorization flow, and the callback can mint a Nginx UI session for the identity returned by that authorization code. 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-84312</guid>
    </item>
    <item>
      <title>GHSA-44xr-mrhh-qm78 — Nginx UI: Casdoor SSO callback uses a constant `state` parameter (login CSRF)</title>
      <link>https://db.gcve.eu/vuln/ghsa-44xr-mrhh-qm78</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;In the Casdoor SSO flow, the OAuth `state` parameter is hard-coded to `settings.CasdoorSettings.Application` — a value identical for every user and every login. The callback handler accepts whatever `state` the client sends without comparing it to anything stored in the user agent, enabling a login-CSRF: an attacker can force the victim&amp;#39;s browser to authenticate as the *attacker*.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;`api/user/casdoor.go:92-117` (`GetCasdoorUri`):&lt;/p&gt;
&lt;p&gt;```go
func GetCasdoorUri(c *gin.Context) {
    clientId := settings.CasdoorSettings.ClientId
    redirectUri := settings.CasdoorSettings.RedirectUri
    state := settings.CasdoorSettings.Application      // ← constant
    ...
    c.JSON(http.StatusOK, gin.H{
        &amp;#34;uri&amp;#34;: fmt.Sprintf(
            &amp;#34;%s/login/oauth/authorize?client_id=%s&amp;amp;response_type=code&amp;amp;redirect_uri=%s&amp;amp;state=%s&amp;amp;scope=read&amp;#34;,
            endpoint, clientId, encodedRedirectUri, state),
    })
}
```&lt;/p&gt;
&lt;p&gt;`api/user/casdoor.go:24-90` (`CasdoorCallback`):&lt;/p&gt;
&lt;p&gt;```go
type CasdoorLoginUser struct {
    Code  string `json:&amp;#34;code&amp;#34; binding:&amp;#34;required,max=255&amp;#34;`
    State string `json:&amp;#34;state&amp;#34; binding:&amp;#34;required,max=255&amp;#34;`
}&lt;/p&gt;
&lt;p&gt;func CasdoorCallback(c *gin.Context) {
    var loginUser CasdoorLoginUser
    if !cosy.BindAndValid(c, &amp;amp;loginUser) { return }
    ...
    // state is NEVER compared to a per-session value
    token, err := casdoorsdk.GetOAuthToken(loginUser.Code, loginUser.State)
    ...
    u, err := user.GetUser(claims.Name)        // username from Casdoor&amp;#39;s JWT
    ...
    use…&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;In the Casdoor SSO flow, the OAuth `state` parameter is hard-coded to `settings.CasdoorSettings.Application` — a value identical for every user and every login. The callback handler accepts whatever `state` the client sends without comparing it to anything stored in the user agent, enabling a login-CSRF: an attacker can force the victim&amp;#39;s browser to authenticate as the *attacker*.&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;`api/user/casdoor.go:92-117` (`GetCasdoorUri`):&lt;/p&gt;
&lt;p&gt;```go
func GetCasdoorUri(c *gin.Context) {
    clientId := settings.CasdoorSettings.ClientId
    redirectUri := settings.CasdoorSettings.RedirectUri
    state := settings.CasdoorSettings.Application      // ← constant
    ...
    c.JSON(http.StatusOK, gin.H{
        &amp;#34;uri&amp;#34;: fmt.Sprintf(
            &amp;#34;%s/login/oauth/authorize?client_id=%s&amp;amp;response_type=code&amp;amp;redirect_uri=%s&amp;amp;state=%s&amp;amp;scope=read&amp;#34;,
            endpoint, clientId, encodedRedirectUri, state),
    })
}
```&lt;/p&gt;
&lt;p&gt;`api/user/casdoor.go:24-90` (`CasdoorCallback`):&lt;/p&gt;
&lt;p&gt;```go
type CasdoorLoginUser struct {
    Code  string `json:&amp;#34;code&amp;#34; binding:&amp;#34;required,max=255&amp;#34;`
    State string `json:&amp;#34;state&amp;#34; binding:&amp;#34;required,max=255&amp;#34;`
}&lt;/p&gt;
&lt;p&gt;func CasdoorCallback(c *gin.Context) {
    var loginUser CasdoorLoginUser
    if !cosy.BindAndValid(c, &amp;amp;loginUser) { return }
    ...
    // state is NEVER compared to a per-session value
    token, err := casdoorsdk.GetOAuthToken(loginUser.Code, loginUser.State)
    ...
    u, err := user.GetUser(claims.Name)        // username from Casdoor&amp;#39;s JWT
    ...
    use…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-44xr-mrhh-qm78</guid>
    </item>
  </channel>
</rss>
