Rewrite: Researchers at Varonis discovered a vulnerability within Postgres language…
- User
Rewrite: Researchers at Varonis discovered a vulnerability within Postgres language extension PL/Perl, allowing a user to set arbitrary environment variables in PostgreSQL session processes.
The vulnerability was given a CVSS 8.8 score for severity and could lead to severe security issues, depending on the scenario where it's exploited.
Tracked as CVE-2024-10979, the flaw allows a threat actor to modify a sensitive environment, ultimately allowing them to execute arbitrary code without accessing a user of the operating system
- Assistant
Varonis researchers identified a vulnerability in the Postgres language extension PL/Perl, which permits users to set arbitrary environment variables in PostgreSQL session processes.
This vulnerability received a CVSS severity score of 8.8, indicating a significant security risk that could result in serious issues based on the exploitation context.
Known as CVE-2024-10979, this flaw enables a malicious actor to alter a sensitive environment, potentially allowing them to execute arbitrary code without needing access to an operating system user.
- User
Rewrite: The vulnerability also allows a threat actor to run additional queries to gather information on the machine and its contents.
- Assistant
The vulnerability also enables a malicious actor to execute additional queries to collect information about the machine and its contents.
- User
Rewrite: Versions preceding PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected by this vulnerability
- Assistant
This vulnerability affects PostgreSQL versions prior to 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21.
- User
Rewrite:
Environment variables are user-defined values that can allow a program to dynamically fetch various kinds of information, such as access keys and software installation paths, during runtime without having to hard-code them. In certain operating systems, they are initialized during the startup phase.
"Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables This flaw could allow unprivileged users to alter environment variables, and potentially lead to code execution or information disclosure. This includes, but is not limited to, the execution of arbitrary code by modifying environment variables such as PATH, or extraction of valuable information on the machine by running malicious queries.
- Assistant
Environment variables are user-defined values that allow programs to dynamically retrieve various information, like access keys and software installation paths, at runtime without needing to hard-code these details. In some operating systems, these variables are initialized during startup.
"Improper control of environment variables in PostgreSQL PL/Perl lets an unprivileged database user modify sensitive process environment variables. This flaw could enable unprivileged users to change environment variables, potentially leading to code execution or information disclosure. This may include executing arbitrary code by altering variables such as PATH or extracting valuable information from the machine by running malicious queries."