跳转到帖子

Red Hat: CVE-2023-22809: arbitrary file write with privileges of the RunAs user (Multiple Advisories)

recommended_posts

发布于
  • Members

Red Hat: CVE-2023-22809: arbitrary file write with privileges of the RunAs user (Multiple Advisories)

Severity
7
CVSS
(AV:L/AC:L/Au:S/C:C/I:C/A:C)
Published
01/18/2023
Created
01/25/2023
Added
01/24/2023
Modified
01/30/2025

Description

In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environment variables (SUDO_EDITOR, VISUAL, and EDITOR), allowing a local attacker to append arbitrary entries to the list of files to process. This can lead to privilege escalation. Affected versions are 1.8.0 through 1.9.12.p1. The problem exists because a user-specified editor may contain a "--" argument that defeats a protection mechanism, e.g., an EDITOR='vim -- /path/to/extra/file' value.

Solution(s)

  • redhat-upgrade-sudo
  • redhat-upgrade-sudo-debuginfo
  • redhat-upgrade-sudo-debugsource
  • redhat-upgrade-sudo-devel
  • redhat-upgrade-sudo-python-plugin
  • redhat-upgrade-sudo-python-plugin-debuginfo

References

  • CVE-2023-22809
  • RHSA-2023:0281
  • RHSA-2023:0282
  • RHSA-2023:0283
  • RHSA-2023:0284
  • RHSA-2023:0291
  • RHSA-2023:0293
View more
  • 查看数 695
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。

游客
回帖…