{"id":"GHSA-859m-7qpm-85p7","aliases":[],"summary":"An authenticated node can write another node's factset through the PuppetDB facts terminus","published_at":"2026-11-20T02:54:40Z","modified_at":"2026-11-20T02:54:40Z","products":[{"slug":"puppet","name":"Puppet / OpenVox","category":"iac"}],"rating":{"severity":"high","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"priority":9.7,"record_count":1,"vendors":["GitHub"],"details":"### Summary\r\n\r\n- Severity: High. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N (7.7)\r\n- Affected package: `openvoxdb-termini` 9.2.0 and earlier, 8.18.0 and earlier. \r\n- Default configuration affected: requires a `openvox-server` deployment with `/etc/puppetlabs/puppet/routes.yaml` setting the facts terminus to `puppetdb` (the documented standard OpenVoxDB install). Issue does NOT affect the bare `openvox-server` default `json` terminus. No other non-standard configuration is needed.\r\n- Attack vector: A compromised agent holding a valid keypair for some certname: `agent-a.example`.\r\n\r\n### Details\r\n\r\nThe default `/etc/puppetlabs/puppetserver/conf.d/auth.conf` configuration for `openvox-server` contains the following rule allowing authenticated nodes to re-fresh their own facts:\r\n\r\n```console\r\n{\r\n    # Allow nodes to update their own facts\r\n    match-request: {\r\n        path: \"^/puppet/v3/facts/([^/]+)$\"\r\n        type: regex\r\n        method: put\r\n    }\r\n    allow: \"$1\"\r\n    sort-order: 500\r\n    name: \"puppetlabs facts\"\r\n}\r\n```\r\n\r\nThis rule requires that the request URL must match the `Subject:` field of the client certificate presented during the TLS handshake. Responsibility for validating the request payload matches the URL is delegated to plugins, known as \"termini\", that process the data. The facts terminus in the `openvoxdb-termini` package did not perform validation.\r\n\r\nThis allows an attacker that controls a valid certificate, for example `agent-a.example`, to make the following request to the OpenVox Server:\r\n\r\n```console\r\nPUT /puppet/v3/facts/agent-a.example\r\n```\r\n\r\nThe request body could be a factset that named any `\"certname\": \"victim.example\"` and the `openvoxdb-termini` would update fact content stored in the DB under that name.\r\n\r\n## Impact\r\n\r\nAttacker can influence logic that makes decisions based on DB queries against reported facts.","affected_stack":[{"ecosystem":"GitHub","package":"OpenVoxProject/openvoxdb/openvoxdb-termini","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.18.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"9.0.0"},{"fixed":"9.2.1"}]}],"fixed":["8.18.1","9.2.1"],"provider":"github-repo-advisories","source":"GHSA-859m-7qpm-85p7","relation":"self"}],"affected_other":[],"product_status":[],"records":[{"provider":"github-repo-advisories","source_id":"GHSA-859m-7qpm-85p7","relation":"self","url":"https://github.com/OpenVoxProject/openvoxdb/security/advisories/GHSA-859m-7qpm-85p7","license":"GitHub Terms of Service","published_at":"2026-11-20T02:54:40Z","modified_at":"2026-11-20T02:54:40Z","summary":"An authenticated node can write another node's factset through the PuppetDB facts terminus","details":"### Summary\r\n\r\n- Severity: High. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N (7.7)\r\n- Affected package: `openvoxdb-termini` 9.2.0 and earlier, 8.18.0 and earlier. \r\n- Default configuration affected: requires a `openvox-server` deployment with `/etc/puppetlabs/puppet/routes.yaml` setting the facts terminus to `puppetdb` (the documented standard OpenVoxDB install). Issue does NOT affect the bare `openvox-server` default `json` terminus. No other non-standard configuration is needed.\r\n- Attack vector: A compromised agent holding a valid keypair for some certname: `agent-a.example`.\r\n\r\n### Details\r\n\r\nThe default `/etc/puppetlabs/puppetserver/conf.d/auth.conf` configuration for `openvox-server` contains the following rule allowing authenticated nodes to re-fresh their own facts:\r\n\r\n```console\r\n{\r\n    # Allow nodes to update their own facts\r\n    match-request: {\r\n        path: \"^/puppet/v3/facts/([^/]+)$\"\r\n        type: regex\r\n        method: put\r\n    }\r\n    allow: \"$1\"\r\n    sort-order: 500\r\n    name: \"puppetlabs facts\"\r\n}\r\n```\r\n\r\nThis rule requires that the request URL must match the `Subject:` field of the client certificate presented during the TLS handshake. Responsibility for validating the request payload matches the URL is delegated to plugins, known as \"termini\", that process the data. The facts terminus in the `openvoxdb-termini` package did not perform validation.\r\n\r\nThis allows an attacker that controls a valid certificate, for example `agent-a.example`, to make the following request to the OpenVox Server:\r\n\r\n```console\r\nPUT /puppet/v3/facts/agent-a.example\r\n```\r\n\r\nThe request body could be a factset that named any `\"certname\": \"victim.example\"` and the `openvoxdb-termini` would update fact content stored in the DB under that name.\r\n\r\n## Impact\r\n\r\nAttacker can influence logic that makes decisions based on DB queries against reported facts.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","source":"GHSA-859m-7qpm-85p7"}],"affected":[{"ecosystem":"GitHub","package":"OpenVoxProject/openvoxdb/openvoxdb-termini","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.18.1"}]},{"type":"ECOSYSTEM","events":[{"introduced":"9.0.0"},{"fixed":"9.2.1"}]}],"fixed":["8.18.1","9.2.1"],"provider":"github-repo-advisories","source":"GHSA-859m-7qpm-85p7","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/OpenVoxProject/openvoxdb/security/advisories/GHSA-859m-7qpm-85p7"}]}],"references":[{"type":"ADVISORY","url":"https://github.com/OpenVoxProject/openvoxdb/security/advisories/GHSA-859m-7qpm-85p7"}],"sources":[{"provider":"github-repo-advisories","source_id":"GHSA-859m-7qpm-85p7","url":"https://github.com/OpenVoxProject/openvoxdb/security/advisories/GHSA-859m-7qpm-85p7","license":"GitHub Terms of Service","modified_at":"2026-11-20T02:54:40Z","relation":"self"}]}
