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

patch for possible SEH/Stack Buffer overflow (CVE-2023-33693) #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ernestang98
Copy link

@ernestang98 ernestang98 commented Jun 2, 2023

There is a SEH overflow vulnerability caused by using unsafe strcpy() function in xmlconfig.cpp file. A simple fix to this is to replace strcpy() with strncpy() and set a fix length for the URL field at 256.

This ensures that tsingsee/EasyPlayerPro all versions v3.2.19.0106 and v3.6.19.0823 is not vulnerable to a SEH overflow, mainly caused by the usage of unsafe strcpy() function in xmlconfig.cpp file LoadConfig() function, where strcpy() is used to copy over the user controlled URL field in EasyPlayerPro.xml. This leads to a Denial of Service (DoS) exploitation and may lead to arbitrary code execution (RCE) via SEH/stack buffer overflow.

POC:
https://www.youtube.com/watch?v=K27nGHa-hTE&feature=youtu.be&ab_channel=ErnestAng
https://www.youtube.com/watch?v=JkIhyO_z3VU&feature=youtu.be

@ernestang98 ernestang98 changed the title Prevent Possible Buffer Overflow Prevent Possible Buffer Overflow (CVE-2023-33693) Jun 2, 2023
@ernestang98 ernestang98 changed the title Prevent Possible Buffer Overflow (CVE-2023-33693) Prevent Possible SEH Overflow (CVE-2023-33693) Jun 2, 2023
@ernestang98 ernestang98 changed the title Prevent Possible SEH Overflow (CVE-2023-33693) patch for possible SEH overflow (CVE-2023-33693) Jun 3, 2023
@ernestang98 ernestang98 changed the title patch for possible SEH overflow (CVE-2023-33693) patch for possible SEH/Stack Buffer overflow (CVE-2023-33693) Jun 3, 2023
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

Successfully merging this pull request may close these issues.

None yet

1 participant