<?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-09-28T10:12:33.164454+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-40883</id>
    <title>fkie_cve-2026-40883</title>
    <updated>2026-09-28T10:12:33.166744+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>goshs is a SimpleHTTPServer written in Go. From 2.0.0-beta.4 to 2.0.0-beta.5, goshs contains a cross-site request forgery issue in its state-changing HTTP GET routes. An external attacker can cause an already authenticated browser to trigger destructive actions such as ?delete and ?mkdir because goshs relies on HTTP basic auth alone and performs no CSRF, Origin, or Referer validation for those routes. This vulnerability is fixed in 2.0.0-beta.6.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-40883"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-jrq5-hg6x-j6g3</id>
    <title>GHSA-jrq5-hg6x-j6g3 — goshs has CSRF in state-changing GET routes enables authenticated file deletion and directory creation</title>
    <updated>2026-09-28T10:12:33.166971+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: github.com/patrickhener/goshs/v2</p>
<p>### Summary
goshs contains a cross-site request forgery issue in its state-changing HTTP GET routes. An external attacker can cause an already authenticated browser to trigger destructive actions such as `?delete` and `?mkdir` because goshs relies on HTTP basic auth alone and performs no CSRF, `Origin`, or `Referer` validation for those routes. I reproduced this on `v2.0.0-beta.5`.</p>
<p>### Details
The vulnerable request handling is reachable through normal GET requests:</p>
<p>- `httpserver/handler.go:118-123` dispatches `?mkdir` directly to `handleMkdir()`
- `httpserver/handler.go:180-186` dispatches `?delete` directly to `deleteFile()`</p>
<p>Authentication is enforced only by HTTP basic auth:</p>
<p>- `httpserver/middleware.go:20-87` accepts any request that presents valid cached or replayed basic-auth credentials</p>
<p>The resulting state changes hit filesystem mutation sinks:</p>
<p>- `httpserver/handler.go:683-718` calls `os.RemoveAll()` in `deleteFile()`
- `httpserver/handler.go:961-1000` calls `os.MkdirAll()` in `handleMkdir()`</p>
<p>Because browsers can replay HTTP basic-auth credentials on subresource requests, an attacker-controlled page can embed:</p>
<p>- `&lt;img src="http://127.0.0.1:18095/victim.txt?delete"&gt;`
- `&lt;img src="http://127.0.0.1:18095/csrfmade?mkdir"&gt;`</p>
<p>If the victim has already authenticated to goshs, those requests are treated as legitimate authenticated actions and the server mutates the filesystem.</p>
<p>### PoC
Manual verification commands used:</p>
<p>`Terminal 1`</p>
<p>```bash
cd '/Users/r1zzg0d/Documen…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-jrq5-hg6x-j6g3"/>
  </entry>
</feed>
