<?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, 01 Dec 2026 19:59:03 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-94563</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-94563</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-94563</guid>
    </item>
    <item>
      <title>GHSA-j79f-jrwm-2f2h — NukeViet CMS: Authenticated path traversal to arbitrary file write via S/MIME certificate CN in SMTP settings</title>
      <link>https://db.gcve.eu/vuln/ghsa-j79f-jrwm-2f2h</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Packagist: nukeviet/nukeviet&lt;/p&gt;
&lt;p&gt;## 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&amp;#39;s X.509 Subject CN** with only `str_replace(&amp;#39;@&amp;#39;,&amp;#39;__&amp;#39;)` 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).&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;## 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(&amp;#39;@&amp;#39;,&amp;#39;__&amp;#39;, 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.&amp;#39;/data/certs/&amp;#39;.$email_name.&amp;#39;.{key,crt,pem}&amp;#39;, &amp;lt;attacker PEM&amp;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…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Packagist: nukeviet/nukeviet&lt;/p&gt;
&lt;p&gt;## 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&amp;#39;s X.509 Subject CN** with only `str_replace(&amp;#39;@&amp;#39;,&amp;#39;__&amp;#39;)` 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).&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;## 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(&amp;#39;@&amp;#39;,&amp;#39;__&amp;#39;, 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.&amp;#39;/data/certs/&amp;#39;.$email_name.&amp;#39;.{key,crt,pem}&amp;#39;, &amp;lt;attacker PEM&amp;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…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-j79f-jrwm-2f2h</guid>
    </item>
  </channel>
</rss>
