{"id":"GHSA-9xfw-vx6g-wpmm","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' =\u003e 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 =\u003e 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.","aliases":["CVE-2026-61832"],"modified":"2026-11-30T20:00:05.931212535Z","published":"2026-11-30T19:55:15Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-11-30T19:55:15Z","nvd_published_at":"2026-11-20T19:18:52Z","cwe_ids":["CWE-295","CWE-502"]},"references":[{"type":"WEB","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":"WEB","url":"https://github.com/nukeviet/nukeviet/commit/099ec8cc4734ba8c1b871653ee454367a07446cc"},{"type":"PACKAGE","url":"https://github.com/nukeviet/nukeviet"},{"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"}],"affected":[{"package":{"name":"nukeviet/nukeviet","ecosystem":"Packagist","purl":"pkg:composer/nukeviet/nukeviet"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.00"}]}],"versions":["4.0.24","4.4.01"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-9xfw-vx6g-wpmm/GHSA-9xfw-vx6g-wpmm.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}