CVE-2018-16771

Hoosk v1.7.0 allows PHP code execution via a SiteUrl that is provided during installation and mishandled in config.php

published September 10, 2018

CVSS
—
EPSS
3%
Percentile
85.6
In the wild
Unconfirmed
What it is

⚠️ A misconfigured SiteUrl during setup can lead to PHP code execution in Hoosk v1.7.0! This oversight is like leaving the front door of your house wide open for anyone to wander in. 🔥 Think of it as a restaurant that mistakenly publishes its secret recipe on the menu. Any customer who sees it can just whip up the dish at home, and now they can craft whatever they want with access to the kitchen! An attacker could potentially execute arbitrary PHP code on your server, leading to unauthorized access or complete control over the application. This could mean accessing sensitive data, altering configurations, or even shutting down services entirely. Yikes!

Put simply

Think of it as a restaurant that mistakenly publishes its secret recipe on the menu. Any customer who sees it can just whip up the dish at home, and now they can craft whatever they want with access to the kitchen! This vulnerability occurs when the SiteUrl provided during installation is mishandled in the config.php file, allowing attackers to manipulate it and run PHP code remotely.

What to do

An attacker could potentially execute arbitrary PHP code on your server, leading to unauthorized access or complete control over the application. This could mean accessing sensitive data, altering configurations, or even shutting down services entirely. Yikes! To secure your setup, ensure that the SiteUrl is validated and sanitize any input before it is used in the config.php file. It's also a good idea to upgrade to a safer version if one is available and to regularly audit your configuration settings. You've got this! With a little attention to detail, you can lock down your configuration and keep your site secure. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02670 · 85.6th percentile
Published
2018-09-10T04:00Z
EPSS history
Timeline
  • 10 SEP 04:00Z
    Hoosk v1.7.0 allows PHP code execution via a SiteUrl that is provided during installation and mishandled in config.php
    cvelistv5