CVE-2018-15891 Cross-site scripting in n/a
Attackers can inject JavaScript into Asterisk module names in FreePBX, potentially leading to code execution or session hijacking.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2018-15891?
CVE-2018-15891 is a medium-severity cross-site scripting vulnerability in Sangoma Freepbx, published on 20 Jun 2019. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
An issue was discovered in FreePBX core before 3.0.122.43, 14.0.18.34, and 5.0.1beta4. By crafting a request for adding Asterisk modules, an attacker is able to store JavaScript commands in a module name.
Weakness: CWE-79
Which versions are affected by CVE-2018-15891?
It affects 2 products.
Products include Freepbx Freepbx, Sangoma Freepbx.
How do I fix CVE-2018-15891?
No fix has been published for CVE-2018-15891 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2018-15891 being exploited?
There is no known exploitation of CVE-2018-15891 in the wild and no public exploit code.
Other vulnerabilities in Sangoma Freepbx
Sources
Also known as GHSA-f4fj-pg4q-w4qw.