High-Tech Bridge Security Research Lab two vulnerabilities in Bonita BPM Portal (Bonita’s web interface running by default on port 8080), which can be exploited by remote non-authenticated attacker to compromise the vulnerable web application and the web server on which it is hosted.
User-supplied input passed via the “theme” and “location” HTTP GET parameters to “bonita/portal/themeResource” URL is not properly verified before being used as part of file name. The attacker may download any system file accessible to the web server user.
Simple PoC code below will return content of “C:/Windows/system.ini” file:
http://[HOST]/bonita/portal/themeResource?theme=portal/…/…/…/…/…/…/…/ …/…/…/…/…/…/…/…/…/&location=Windows/system.ini
Second PoC will disclose the content of “/etc/passwd” file:
http://[HOST]/bonita/portal/themeResource?theme=portal/…/…/…/…/…/…/…/ …/…/…/…/…/…/…/…/…/&location=etc/passwd
Input passed via the “redirectUrl” HTTP GET parameter to “/bonita/login.jsp” script and “/bonita/loginservice” URLs is not properly verified before being used as redirect URL.
After login user may be redirected to arbitrary website:
http://[HOST]/bonita/login.jsp?_l=en&redirectUrl=//immuniweb.com/
CPE | Name | Operator | Version |
---|---|---|---|
bonita bpm | le | 6.5.1 |