<?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-12-01T19:59:03.682564+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-94563</id>
    <title>fkie_cve-2026-94563</title>
    <updated>2026-12-01T19:59:03.686615+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>NukeViet CMS is a multi Content Management System. From 4.5.00 until 4.6.01, an authenticated settings-module administrator can upload a PKCS#12 S/MIME certificate whose X.509 Subject CN contains path separators and traversal components. The smimeadd handler in admin/settings/smtp.php applies only an at-sign replacement before using the CN in .key, .crt, and .pem paths beneath data/certs. Traversal can select attacker-chosen paths outside data/certs, but writes remain constrained to already-existing writable directories and the permitted extensions. Within that constraint, attacker-controlled PEM data can overwrite certificate assets, including a DKIM private key; when the curl.cainfo PHP directive is empty, the attacker can also replace cacert.pem and undermine outbound TLS verification. This issue is fixed in version 4.6.01.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-94563"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-j79f-jrwm-2f2h</id>
    <title>GHSA-j79f-jrwm-2f2h — NukeViet CMS: Authenticated path traversal to arbitrary file write via S/MIME certificate CN in SMTP settings</title>
    <updated>2026-12-01T19:59:03.686727+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Packagist: nukeviet/nukeviet</p>
<p>## Summary
When an authenticated non-super administrator (settings-module admin) adds an S/MIME signing certificate via the `smimeadd` handler (`admin/settings/smtp.php:220-296`), the on-disk output filename is derived **entirely from the certificate's X.509 Subject CN** with only `str_replace('@','__')` applied. Because an X.509 CN may legally contain `/` and `..`, an attacker who crafts a self-signed cert with a traversal CN writes attacker-controlled PEM data to an attacker-chosen path (constrained to `.key`/`.crt`/`.pem` extensions, within already-existing writable directories).</p>
<p>This is a distinct, unpatched sink — the write-side analogue of a previously fixed delete-side path-traversal class — in a file the prior fix never touched.</p>
<p>## Root Cause
`admin/settings/smtp.php` `smimeadd` handler:
- `openssl_pkcs12_read` + `openssl_x509_parse` extract the Subject CN (:268).
- The ONLY transform is `$email_name = str_replace('@','__', trim(CN))` (:269). No `basename`, `realpath`, `nv_is_file`, `dirname`, `strpos`, or allowlist regex between the CN and the sinks (grep of :244-296 confirms).
- `file_put_contents(NV_ROOTDIR.'/data/certs/'.$email_name.'.{key,crt,pem}', &lt;attacker PEM&gt;)` at :283/:284/:287.
- `/` and `..` in the CN survive `openssl_x509_parse` verbatim (empirically verified with OpenSSL 3 + PHP): `CN=../../config/config` → resolved write path `/data/certs/../../config/config.crt`, escaping `data/certs`.
- Reachability: `smtp.php:12` gate is `NV_IS_MODADMIN`; `op=smt…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-j79f-jrwm-2f2h"/>
  </entry>
</feed>
