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

Cryptographic API Misuse Vulnerability: DES ECB used for encryption #460

Open
gxx777 opened this issue Oct 23, 2023 · 0 comments
Open

Cryptographic API Misuse Vulnerability: DES ECB used for encryption #460

gxx777 opened this issue Oct 23, 2023 · 0 comments

Comments

@gxx777
Copy link

gxx777 commented Oct 23, 2023

DES is weak encryption algorithm and ECB is also a weak mode for block cipher.
I have identified a security vulnerability in the /real-url project's use of DES ECB (Electronic Codebook) mode . This vulnerability can potentially expose sensitive information and compromise the security of the application.

locations:
https://github.com/wbt5/real-url/blob/master/danmu/danmaku/yqs.py#L32
https://github.com/wbt5/real-url/blob/master/danmu/danmaku/yqs.py#L38
https://github.com/wbt5/real-url/blob/master/ppsport.py#L80

Recommendations:
It is strongly recommended to update the project's code and use more secure encryption modes, such as AES CBC or AES GCM, for configuration. This will help mitigate the potential security risks associated with using DES ECB.Besides,the cryprography.io(https://cryptography.io/) crypto library is a good programming practices.

Additional Information:
Please note that using DES ECB for configuration can lead to information leakage and compromise the confidentiality of sensitive data stored . Upgrading to a more secure encryption mode will significantly enhance the security posture of the application.

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