Weak Default Configuration for uksp
and ukswrand
#455
Unanswered
lrapp-x41-pub
asked this question in
General
Replies: 1 comment
-
@lrapp-x41-pub, since we are already (viciously) using the Unikraft Discord server for discussions, meetings, brainstorming and jokes (mostly bad, we do what we can), we will close the Discussions tab. We will do this on Friday, March 31, 2023. Please move any discussions or questions on the Unikraft Discord server. See you all there! 🤝 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From a security perspective, the default configuration for
uksp
andukswrand
is not the most secure one.uksp
:STACKPROTECTOR_REGULAR
instead ofSTACKPROTECTOR_ALL
LIBUKSP_VALUE_USECONSTANT
instead ofLIBUKSP_VALUE_RANDOM
ukswrand
:LIBUKSWRAND_INITIALSEED_TIME
instead ofLIBUKSWRAND_INITIALSEED_RDRAND
The default configuration leads to known or predictable canary values.
An attacker might be able to use this knowledge to embed the known canary value at the correct place in the exploit string and overwrite the canary with the correct value to circumvent stack smashing protection that way.
As many users might use the default configuration, it should be considered to choose the most secure option as default configuration.
Beta Was this translation helpful? Give feedback.
All reactions