Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL session is leaked #35

Open
jmp0x7c00 opened this issue Jan 6, 2023 · 0 comments
Open

SSL session is leaked #35

jmp0x7c00 opened this issue Jan 6, 2023 · 0 comments

Comments

@jmp0x7c00
Copy link

the variable ssl_session_outside is a pointer that holds an untrusted address (outside enclave)

+ ocall_malloc((void**)&ssl_session_outside, sizeof(*ssl_session_outside));

the enclave code copies SSL session to the untrusted target buffer by memcpy, which results in privacy leakage.

+ memcpy(ssl_session_outside, ssl->session, sizeof(*ssl_session_outside));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant