Skip to content
RCE Advisory Advanced CVE-2019-5069

Epignosis eFront LMS PHP deserialization code execution vulnerability

The eFront LMS application deserialised untrusted user input in several form parameters without proper validation, allowing an attacker to inject serialised PHP objects. This could lead to PHP code execution on the server.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

High 8.8 View original

A code execution vulnerability exists in Epignosis eFront LMS v5.2.12. A specially crafted web request can cause unsafe deserialization potentially resulting in PHP code being executed.

Yuri Kramarz, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The application used PHP's unserialize() on user-supplied input without validating that the data was safe, and the type check defaulted to 'generic' which allowed non-scalar values to pass through.

Impact

An attacker could execute arbitrary PHP code on the server, leading to full compromise of the application and its data.

What the attacker needed

Authenticated user with access to forms; valid CSRF token

The fix

The vendor patched the vulnerability and released a new version.

How it was found

  1. Send a POST request to one of the vulnerable form endpoints, such as /audiences/add/1.
  2. Include a valid session cookie and CSRF token.
  3. In the vulnerable parameter (e.g., 'name'), supply serialised PHP object data.
  4. Submit the form to trigger deserialisation and potential code execution.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Deserialisation is when a program turns stored data back into objects. If an attacker can control that data, they can create malicious objects that run code when the program processes them. Here, the LMS accepted such data from a form field and deserialised it, potentially letting an attacker run commands on the server.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Yuri Kramarz

View all

57 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.