OpenSolaris

Printable Version Enter a New Search
Bug ID 6659486
Synopsis ipseckey dumps core with encryption key and no other parameters
State 10-Fix Delivered (Fix available in build)
Category:Subcategory network:ipsec
Keywords
Responsible Engineer Paul Wernau
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_84
Fixed In snv_84
Release Fixed solaris_nevada(snv_84)
Related Bugs
Submit Date 5-February-2008
Last Update Date 27-February-2008
Description
# ipseckey -f /tmp/ipseckey
/tmp/ipseckey has insecure permissions, will be rejected in permanent config.
Segmentation Fault (core dumped)

# mdb core
Loading modules: [ libc.so.1 ld.so.1 ]
> $c
doaddup+0x61e(3, 3, 806fc80, 806ec20)
parseit+0x234(4, 806fc78, 806ec20, 1)
libipsecutil.so.1`do_interactive+0x363(806c7c8, 806cdf0, 805762c, 0, 8056d48)
main+0x36c(3, 8047e20, 8047e30)
_start+0x7a(3, 8047ed4, 8047edd, 8047ee0, 0, 8047eee)
> $q

# more /tmp/ipseckey
add esp encrkey be02938e7def2839


If you add spi values, etc. first, things are fine.
Work Around
N/A
Comments
N/A