{"id":24965,"date":"2025-04-16T11:19:37","date_gmt":"2025-04-16T11:19:37","guid":{"rendered":""},"modified":"2025-06-14T07:02:37","modified_gmt":"2025-06-14T13:02:37","slug":"cve-2023-47145-local-privilege-escalation-in-ibm-db2-via-msi-repair-functionality","status":"publish","type":"post","link":"https:\/\/www.ameeba.com\/blog\/cve-2023-47145-local-privilege-escalation-in-ibm-db2-via-msi-repair-functionality\/","title":{"rendered":"<strong>CVE-2023-47145: Local Privilege Escalation in IBM Db2 via MSI Repair Functionality<\/strong>"},"content":{"rendered":"<p><strong>Overview<\/strong><\/p>\n<p>The CVE-2023-47145 vulnerability deals with a potentially severe security flaw found in IBM&#8217;s Db2 for Windows, which also includes Db2 Connect Server. The versions affected by this vulnerability are 10.5, 11.1, and 11.5. This <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-51059-critical-privilege-escalation-vulnerability-in-mokosmart-mkgw1-ble-gateway\/\"  data-wpil-monitor-id=\"28860\">vulnerability could allow a local user to escalate their privileges<\/a> to the SYSTEM user utilizing MSI repair functionality, potentially leading to system compromise or data leakage. In today&#8217;s digital age, this kind of vulnerability is particularly alarming, with <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-50930-cross-site-request-forgery-csrf-in-savignano-s-notify-leading-to-configuration-tampering-and-potential-data-leakage\/\"  data-wpil-monitor-id=\"32013\">potential detrimental effects on data<\/a> privacy, data integrity, and overall system security.<\/p>\n<p><strong>Vulnerability Summary<\/strong><\/p>\n<p>CVE ID: CVE-2023-47145<br \/>\nSeverity: High (8.4 CVSS Severity Score)<br \/>\nAttack Vector: Local<br \/>\nPrivileges Required: Low<br \/>\nUser Interaction: Required<br \/>\nImpact: <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2024-0573-critical-vulnerability-in-totolink-lr1200gb-leading-to-potential-system-compromise\/\"  data-wpil-monitor-id=\"29248\">Potential system<\/a> compromise or data leakage<\/p>\n<p><strong>Affected Products<\/strong><\/p><div id=\"ameeb-4029744884\" class=\"ameeb-content-2 ameeb-entity-placement\"><div style=\"border-left: 4px solid #555; padding-left: 20px; margin: 48px 0; font-family: Roboto, sans-serif; color: #ffffff; line-height: 1.6; max-width: 720px;\">\r\n  <h2 style=\"margin-top: 0; font-size: 22px; font-weight: 600; display: flex; align-items: center; letter-spacing: -0.02em;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"display: inline-flex; align-items: center; margin-right: 10px;\">\r\n      <img decoding=\"async\" src=\"https:\/\/www.ameeba.com\/blog\/wp-content\/uploads\/2025\/10\/Best-App-icon-Ameeba.png\" alt=\"Ameeba Chat Icon\" style=\"width: 42px; height: 42px;\" \/>\r\n    <\/a>\r\n    Share secrets securely\r\n  <\/h2>\r\n\r\n  <p style=\"margin-bottom: 14px; color: #d1d5db;\">\r\n    Ameeba is private infrastructure for communication and sensitive work built on encrypted identity instead of exposed corporate identity systems.\r\n  <\/p>\r\n\r\n  <p style=\"margin-bottom: 18px; color: #a1a1aa;\">\r\n    Passwords, credentials, confidential files, screenshots, internal discussions, sensitive AI context, and private coordination should not become exposed across ordinary communication platforms.\r\n  <\/p>\r\n\r\n  <ul style=\"list-style: none; padding-left: 0; margin-bottom: 24px; color: #e4e4e7;\">\r\n    <li style=\"margin-bottom: 8px;\">\u2022 Encrypted identity<\/li>\r\n    <li style=\"margin-bottom: 8px;\">\u2022 Private Spaces for organizations and teams<\/li>\r\n    <li style=\"margin-bottom: 8px;\">\u2022 End-to-end encrypted chat, calls, files, and notes<\/li>\r\n    <li style=\"margin-bottom: 8px;\">\u2022 Sensitive AI work and protected collaboration<\/li>\r\n    <li>\u2022 Built for information that cannot leak<\/li>\r\n  <\/ul>\r\n\r\n  <p style=\"font-style: italic; font-weight: 600; margin-bottom: 24px; color: #ffffff;\">\r\n    Our mission is to secure human work alongside AI.\r\n  <\/p>\r\n\r\n  <div style=\"display: flex; flex-wrap: wrap; gap: 12px;\">\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\/download\" style=\"background-color: #ffffff; color: #000000; padding: 10px 20px; text-decoration: none; border-radius: 8px; font-weight: 500;\">\r\n      Download Ameeba\r\n    <\/a>\r\n\r\n    <a href=\"https:\/\/www.ameeba.com\/chat\" style=\"border: 1px solid #ffffff; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 8px; font-weight: 500;\">\r\n      Learn More\r\n    <\/a>\r\n  <\/div>\r\n<\/div><\/div>\n<p>Product | Affected Versions<\/p>\n<p><a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-33092-stack-based-buffer-overflow-vulnerability-in-ibm-db2-for-linux\/\"  data-wpil-monitor-id=\"89373\">IBM Db2<\/a> for Windows (includes Db2 Connect Server) | 10.5, 11.1, 11.5<\/p>\n<p><strong>How the Exploit Works<\/strong><\/p>\n<p>The exploit works by leveraging the <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-46348-unauthenticated-backup-exploitation-of-yeswiki-prior-to-version-4-5-4\/\"  data-wpil-monitor-id=\"41847\">MSI repair functionality within the affected IBM Db2<\/a> versions. The local user can manipulate the repair function to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-20936-escalation-of-privileges-through-improper-access-control-in-hdcp-trustlet\/\"  data-wpil-monitor-id=\"30654\">escalate their privileges<\/a> to that of the SYSTEM user. Once the privileges are escalated, the user gains full control over the system, enabling them to manipulate data, <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2023-33113-memory-corruption-vulnerability-leading-to-system-compromise-or-data-leakage\/\"  data-wpil-monitor-id=\"32014\">compromise system<\/a> security, install malicious software, or potentially export sensitive information.<\/p>\n<p><strong>Conceptual Example Code<\/strong><\/p><div id=\"ameeb-3695256091\" class=\"ameeb-content ameeb-entity-placement\"><div class=\"poptin-embedded\" data-id=\"f6b387694f681\"><\/div>\r\n\r\n\r\n\r\n\r\n\r\n<\/div>\n<p>Here&#8217;s a conceptual example of how this <a href=\"https:\/\/www.ameeba.com\/blog\/fortinet-s-fortigate-vulnerability-ssl-vpn-symlink-exploit-puts-user-access-at-risk-post-patching\/\"  data-wpil-monitor-id=\"30655\">vulnerability might be exploited<\/a>. Please note, this is not actual code but a conceptual representation:<\/p>\n<pre><code class=\"\" data-line=\"\"># Start MSI repair functionality\nstart \/wait msiexec \/fa IBM_DB2.msi\n# Malicious command to escalate privileges to SYSTEM user\necho malicious_command &gt; %SYSTEMROOT%\\Temp\\IBM_DB2_repair.bat\n# Trigger the execution of the malicious command\nstart \/wait msiexec \/fa IBM_DB2.msi<\/code><\/pre>\n<p>In this example, the attacker initiates the MSI repair functionality (`msiexec \/fa IBM_DB2.msi`), then <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-1883-out-of-bounds-write-vulnerability-in-solidworks-edrawings-obj-file-reading-procedure\/\"  data-wpil-monitor-id=\"58194\">writes a malicious command to a batch file<\/a> (`IBM_DB2_repair.bat`) stored in the temporary directory. The malicious command is designed to <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32491-privilege-escalation-vulnerability-in-rankology-seo\/\"  data-wpil-monitor-id=\"32300\">escalate the user&#8217;s privileges<\/a> to that of the SYSTEM user. The attacker then triggers the repair functionality again, this time <a href=\"https:\/\/www.ameeba.com\/blog\/nsa-and-cyber-command-executives-withdraw-from-premier-cybersecurity-conference-unpacking-the-implications\/\"  data-wpil-monitor-id=\"29247\">executing the malicious command<\/a>, leading to the escalation of privileges.<br \/>\nPlease note that this is a conceptual example and does not represent a real-world exploit. The actual methods used by an attacker may differ and depend on multiple factors, including <a href=\"https:\/\/www.ameeba.com\/blog\/cve-2025-32953-security-vulnerability-in-z80pack-emulator-leading-to-system-compromise\/\"  data-wpil-monitor-id=\"41848\">system configuration and security<\/a> controls in place.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview The CVE-2023-47145 vulnerability deals with a potentially severe security flaw found in IBM&#8217;s Db2 for Windows, which also includes Db2 Connect Server. The versions affected by this vulnerability are 10.5, 11.1, and 11.5. This vulnerability could allow a local user to escalate their privileges to the SYSTEM user utilizing MSI repair functionality, potentially leading [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"footnotes":""},"categories":[1],"tags":[],"vendor":[82],"product":[],"attack_vector":[76],"asset_type":[],"severity":[],"exploit_status":[],"class_list":["post-24965","post","type-post","status-publish","format-standard","hentry","category-uncategorized","vendor-microsoft","attack_vector-privilege-escalation"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/24965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/comments?post=24965"}],"version-history":[{"count":8,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/24965\/revisions"}],"predecessor-version":[{"id":82218,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/posts\/24965\/revisions\/82218"}],"wp:attachment":[{"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/media?parent=24965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/categories?post=24965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/tags?post=24965"},{"taxonomy":"vendor","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/vendor?post=24965"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/product?post=24965"},{"taxonomy":"attack_vector","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/attack_vector?post=24965"},{"taxonomy":"asset_type","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/asset_type?post=24965"},{"taxonomy":"severity","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/severity?post=24965"},{"taxonomy":"exploit_status","embeddable":true,"href":"https:\/\/www.ameeba.com\/blog\/wp-json\/wp\/v2\/exploit_status?post=24965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}