eFront <= 3.6.10 (student.php) PHP Code Injection Vulnerability
The student.php script in eFront failed to sanitise the 'course' and 'from_course' parameters before using them to create a new EfrontCourse object. An attacker could exploit this to inject and execute arbitrary PHP code.
karmainsecurity.com
Published on karmainsecurity.com
eFront contains a flaw related to the student.php script which fails to properly sanitize user-supplied input passed via the ‘course’ and ‘fromcourse’ parameters before use it to instanciate a new EfrontCourse object. This can be exploited to inject and execute arbitrary PHP code.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application passed unsanitised request parameters into a code path that instantiates an object in a way that allows PHP code injection.
Impact
An attacker could inject and execute arbitrary PHP code on the server, potentially taking full control of the application.
What the attacker needed
Access to student.php; ability to set course parameters
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 write-up has not been written yet. The Original tab links to the source.
This software builds a course object using text that comes straight from the user, without cleaning it first. Because that text can contain PHP code, an attacker can slip their own code in and have the server run it. That usually means full control of the website.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.