Kirby: System path exposure from error messages in the REST API
getkirby kirby
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| getkirby/cms Packagist |
|
|
Original description
Kirby is an open-source content management system. Prior to 4.9.5 and from 5.0.0 through 5.5.1, the REST API error handler can return unsanitized PHP error messages that expose the full filesystem path of the Kirby installation to unauthenticated API users. This vulnerability affects all Kirby sites that have not disabled the REST API with the 'api' => false option. This issue is fixed in versions 4.9.5 and 5.5.2.