> For the complete documentation index, see [llms.txt](https://docs.vega365.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vega365.com/redundancy-management-framework/user-manual/cybersecure-redundancy-with-vega-systems-solutions/selective-object-synchronization/privilege-escalation-via-db-ports.md).

# Privilege Escalation via DB Ports

## Attack

Replication needs a super-admin password and an open DB port.

<figure><img src="https://73860689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK95oxUATgzuZZ2VhRoDw%2Fuploads%2F58ViSe70VeqD9DT61NnI%2FRMF_Cyber_Secure_Redundancy_WhitePaper%20(12).png?alt=media&amp;token=c3455020-dc21-4f83-9194-5381cd18d389" alt="" width="375"><figcaption><p>Open port for super admin</p></figcaption></figure>

## With SQL Replication

The attacker steals the sysadmin-level replication account via an open port 5022 and pivots into other databases.

<figure><img src="https://73860689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK95oxUATgzuZZ2VhRoDw%2Fuploads%2Fv15LGB9AkS2kBf60D5L5%2FChatGPT%20Image%20Jun%2015%2C%202025%2C%2005_32_33%20PM.png?alt=media&amp;token=255f05d2-1050-427e-b60c-182ea1b91a44" alt="" width="188"><figcaption><p>Hacker Exploits Open Port</p></figcaption></figure>

## With RMF's Object Synchronization

The sync connector only makes an outbound secure call with a short-lived, narrow-scope token through the XProtect API/SDK (provided certificates are enabled on XProtect). Even if stolen, the damage is limited, and no DB port is open.

<figure><img src="https://73860689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK95oxUATgzuZZ2VhRoDw%2Fuploads%2Fpycp2YgT5AEE9BadojyJ%2FRMF_Cyber_Secure_Redundancy_WhitePaper%20(13).png?alt=media&amp;token=5967bdc2-3564-4b6e-9361-79ce919c4e45" alt="" width="563"><figcaption><p>Scoped TLS port on the API, not DB</p></figcaption></figure>
