I searched on the forum and found a very old topic about this issue, so i didn't want to reopen that.
I upgraded my kernel from 2.6.22.8 to 2.6.23.16 due to a recent exploit and now i'm having problems with grsecurity and gradm.
When I auth myself to the admin role, grsec logs the following error:
- Code: Select all
grsec: From 10.1.1.12: (root:U:/sbin/gradm) denied executable mmap of /etc/ld.so.cache by /sbin/gradm[gradm:1419] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:775] uid/euid:0/0 gid/egid:0/0
This error only appears when I auth myself to the admin role, not with any other actions.
I cannot strace the error because I cannot strace when im not in de admin role.
- Code: Select all
root@ssh1 ~ # readelf -l /sbin/gradm
Elf file type is EXEC (Executable file)
Entry point 0x80495a0
There are 7 program headers, starting at offset 52
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
PHDR 0x000034 0x08048034 0x08048034 0x000e0 0x000e0 R E 0x4
INTERP 0x000114 0x08048114 0x08048114 0x00013 0x00013 R 0x1
[Requesting program interpreter: /lib/ld-linux.so.2]
LOAD 0x000000 0x08048000 0x08048000 0x2e0b0 0x2e0b0 R E 0x1000
LOAD 0x02e0b0 0x080770b0 0x080770b0 0x00478 0x00820 RW 0x1000
DYNAMIC 0x02e0c4 0x080770c4 0x080770c4 0x000c8 0x000c8 RW 0x4
NOTE 0x000128 0x08048128 0x08048128 0x00020 0x00020 R 0x4
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4
Section to Segment mapping:
Segment Sections...
00
01 .interp
02 .interp .note.ABI-tag .hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text .fini .rodata .eh_frame
03 .ctors .dtors .jcr .dynamic .got .got.plt .data .bss
04 .dynamic
05 .note.ABI-tag
06
Can you help me in the right direction with this problem? Thnx.