Hebing123 / cve

0 stars 0 forks source link

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

Open Hebing123 opened 8 months ago

Hebing123 commented 8 months ago

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.

Hebing123 commented 5 months ago

CVE-2024-27516