{"id":"CVE-2026-61832","aliases":["GHSA-9xfw-vx6g-wpmm"],"url":"https://o3.security/vulnerability/CVE-2026-61832","summary":"NukeViet CMS: PHP Object Injection to RCE in extension store via unverified HTTP response","details":"### Impact\n\n**PHP Object Injection leading to Remote Code Execution (RCE).**\n\nThe extension/store management handlers deserialize an HTTP response body with an unrestricted `unserialize()` (no `allowed_classes` restriction), while the bundled HTTP client disables TLS certificate verification by default. Because the certificate of the remote endpoint is not validated, a network / man-in-the-middle (MITM) attacker positioned on the path to the store endpoint (e.g. via DNS spoofing, a hostile/shared network, or a compromised resolver/upstream) can substitute the response body with an attacker-chosen PHP serialized payload.\n\nOn deserialization, the payload instantiates an in-tree POP gadget (`GuzzleHttp\\Cookie\\FileCookieJar`), whose destructor writes attacker-controlled content to an attacker-chosen path. This allows writing a `.php` file under the web root and achieving arbitrary code execution as the web-server user (full site and database\ncompromise, persistence, lateral movement).\n\n**Who is impacted:** NukeViet 4.x installations. Exploitation requires two preconditions:\n(1) an attacker able to intercept/alter the server's outbound traffic to the store endpoint, and (2) a privileged administrator (GODADMIN) performing a routine store action (opening the store list, install, update, or detail). The attacker does not need an account on the target.\n\n### Patches\n\nYes. The issue is fixed by two complementary hardening measures:\n\n- **Safe deserialization:** all `unserialize()` calls on internal/remote data now disallow\n  object instantiation via `['allowed_classes' => false]` (exposed as the\n  `NV_UNSERIALIZE_SAFE` constant). The affected payloads are arrays/scalars only, so the\n  change is behaviour-preserving.\n- **TLS verification:** certificate verification is enabled by default in the HTTP client,\n  and the URL-check helper now verifies peer/host across its cURL, `get_headers` and\n  `stream_socket` transports using the shipped CA bundle.\n\nUsers should upgrade to the patched release (NukeViet 4.6.xx or later — replace with the exact fixed version/tag).\n\n### Workarounds\n\nUsers who cannot upgrade immediately can reduce exposure by:\n\n- Enabling TLS certificate verification on the HTTP client (set `sslverify => true` for\n  store/API requests and ensure a valid CA bundle is configured).\n- Avoiding extension store actions (list/install/update/detail) from administrator\n  sessions while on untrusted or shared networks.\n- Restricting/monitoring outbound DNS and network paths from the server to prevent\n  response substitution.","published":"2026-11-20T18:36:22.838Z","modified":"2026-11-21T21:00:53.012901416Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":{"score":0.00596,"percentile":0.42596,"asOf":"2026-11-30"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"nukeviet/nukeviet","fixedVersion":"4.6.00"}],"fix":{"url":"https://github.com/nukeviet/nukeviet/commit/099ec8cc4734ba8c1b871653ee454367a07446cc","label":"nukeviet/nukeviet@099ec8c"},"references":[{"type":"WEB","url":"https://github.com/nukeviet/nukeviet/releases/tag/4.6.00"},{"type":"WEB","url":"https://nukeviet.vn/vi/news/Tin-tuc/thong-bao-phat-hanh-nukeviet-4-6-00-855.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61832.json"},{"type":"ADVISORY","url":"https://github.com/nukeviet/nukeviet/security/advisories/GHSA-9xfw-vx6g-wpmm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61832"},{"type":"FIX","url":"https://github.com/nukeviet/nukeviet/commit/099ec8cc4734ba8c1b871653ee454367a07446cc"},{"type":"PACKAGE","url":"https://github.com/nukeviet/nukeviet"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-11-21T21:00:53.012901416Z"}}