Better HN
topnewbestaskshowjobs
Log inSign up

jergal

15 karma · joined Nov 15, 2009 (17y ago) · 6 submissions

Submissions

comment 17y ago · link · parent

Apologies, guys :)

2.

CVE-2009-3379: Mozilla Firefox Multiple Vulnerabilities(xorl.wordpress.com ↗)

14 points · by jergal · 17y ago · 4 comments

comment 17y ago · link · parent

Look at the output of `objdump -d prog | grep call | grep _chk | wc -l', if the value returned is zero/0/0x0 you haven't got FORTIFY_SOURCE enabled, and would be unnecessary to add -U_FORTIFY_SOURCE.

However this is dependant upon implementation set restrictions and defaults.

comment 17y ago · link · parent

:)

comment 17y ago · link · parent

Indeed, classical music helps me sometimes, when I feel like doing silly things, as opposed to study/research.

comment 17y ago · link · parent

Amongst other things, for users using gcc ( >= 4.0 ) you have the flag `f-stack-protector' set by default, by setting the `-fno-stack-protector' flag explicitly, you effectively turn of compiler stack canary protection.

For those with a non-executable stack, by setting /proc/sys/kernel/randomize_va_space to 0, you effectively turn off any Address Space Layout Randomization (ASLR).

If by now, you're still unable to acquire a segmentation violation, try looking into the execshield stack markings, and so on, which may probably very easily be identified via some search engine.

Otherwise, it should be trivially capable to overflow a stack based buffer via the conventional routines, should they lack boundary checks.

Stack based buffer overflows pose as big a problem now, as they did 13 years ago, and probably more-so.