{"id":"CVE-2023-48643","state":"PUBLISHED","title":"Shrubbery tac_plus 2.x, 3.x. and 4.x through F4.0.4.28 allows unauthenticated Remote Command Execution. The product allows users to configure authorization checks as shell commands","description":"Shrubbery tac_plus 2.x, 3.x. and 4.x through F4.0.4.28 allows unauthenticated Remote Command Execution. The product allows users to configure authorization checks as shell commands through the tac_plus.cfg configuration file. These are executed when a client sends an authorization request with a username that has pre-authorization directives configured. However, it is possible to inject additional commands into these checks because strings from TACACS+ packets are used as command-line arguments. If the installation lacks a a pre-shared secret (there is no pre-shared secret by default), then the injection can be triggered without authentication. (The attacker needs to know a username configured to use a pre-authorization command.) NOTE: this is related to CVE-2023-45239 but the issue is in the original Shrubbery product, not Meta's fork.","publishedAt":"2024-05-16T16:14:01.041Z","updatedAt":"2025-02-13T15:46:57.167Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/takeshixx/tac_plus-pre-auth-rce"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:06:24.729Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/48xxx/CVE-2023-48643.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-48643","state":"PUBLISHED","datePublished":"2024-05-16T16:14:01.041Z","dateUpdated":"2025-02-13T15:46:57.167Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2023-11-17T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Shrubbery tac_plus 2.x, 3.x. and 4.x through F4.0.4.28 allows unauthenticated Remote Command Execution. The product allows users to configure authorization checks as shell commands through the tac_plus.cfg configuration file. These are executed when a client sends an authorization request with a username that has pre-authorization directives configured. However, it is possible to inject additional commands into these checks because strings from TACACS+ packets are used as command-line arguments. If the installation lacks a a pre-shared secret (there is no pre-shared secret by default), then the injection can be triggered without authentication. (The attacker needs to know a username configured to use a pre-authorization command.) NOTE: this is related to CVE-2023-45239 but the issue is in the original Shrubbery product, not Meta's fork."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/takeshixx/tac_plus-pre-auth-rce"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2024-05-16T16:14:01.444Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/takeshixx/tac_plus-pre-auth-rce","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T21:37:54.509Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"shrubbery","product":"tac_plus_2x","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"f_4.0.4.28","versionType":"custom"}],"cpes":["cpe:2.3:a:shrubbery:tac_plus_2x:*:*:*:*:*:*:*:*"]},{"vendor":"shrubbery","product":"tac_plus_3x","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"f_4.0.4.28","versionType":"custom"}],"cpes":["cpe:2.3:a:shrubbery:tac_plus_3x:*:*:*:*:*:*:*:*"]},{"vendor":"shrubbery","product":"tac_plus_4x","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"f_4.0.4.28","versionType":"custom"}],"cpes":["cpe:2.3:a:shrubbery:tac_plus_4x:*:*:*:*:*:*:*:*"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-08-20T15:59:52.293639Z","id":"CVE-2023-48643","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","type":"CWE","lang":"en","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-20T16:07:45.689Z"}}]}}}