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

livehelperchat 4.28v has a vulnerability for Server-Side Template Injection (SSTI) #2054

Closed
Hebing123 opened this issue Feb 20, 2024 · 0 comments

Comments

@Hebing123
Copy link

Hebing123 commented Feb 20, 2024

Summary

LiveHelperChat 4.28v has a vulnerability for Server-Side Template Injection (SSTI).

Details

The normal logic is that LiveHelperChat should filter the {{ and }} of the parameters.
image

However, we found that the "search" parameter is not filtered in lhc_web/modules/lhfaq/faqweight.php
image
Although it does use the strip_tags function to strip HTML and PHP tags from strings.

Proof of Concept (POC)

http://192.168.160.147/lhc_web/index.php/site_admin/?search={{123*123}}
image

Impact

An attacker with a low-permission user can exploit the server-side Template Injection (SSTI) vulnerability to attack a Server.

@remdex remdex closed this as completed in a61d231 Feb 20, 2024
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