CVE-2021-32051:SQL Injection vulnerability in Hexagon G!nius Auskunftsportal before version 5.0.0.0

splash
Back

Description Preview

A SQL Injection vulnerability (CWE-89) exists in Hexagon G!nius Auskunftsportal versions prior to 5.0.0.0. The vulnerability allows attackers to inject malicious SQL code via the 'id' parameter in the GiPWorkflow/Service/DownloadPublicFile endpoint. Successful exploitation could lead to unauthorized access to sensitive database information, modification of database contents, or potentially complete system compromise.

Overview

The Hexagon G!nius Auskunftsportal (information portal) is a GIS-based utility management system used by organizations to manage infrastructure data. The vulnerability exists in the file download functionality where user-supplied input in the 'id' parameter is not properly sanitized before being used in SQL queries. This allows attackers to inject and execute arbitrary SQL commands within the application's database. The impact of this vulnerability can be severe as it may allow unauthorized access to sensitive information stored in the database, including user credentials, personal information, and infrastructure data. Additionally, depending on database permissions, attackers might be able to modify or delete data, or potentially gain further access to the underlying system.

Remediation

Organizations using Hexagon G!nius Auskunftsportal should implement the following remediation steps:

  1. Update to version 5.0.0.0 or later as soon as possible, as this version addresses the SQL injection vulnerability.
  2. If immediate updating is not possible, consider implementing additional security controls such as:
    • Deploying a web application firewall (WAF) configured to block SQL injection attempts
    • Restricting access to the vulnerable endpoint through network segmentation
    • Implementing input validation at the network perimeter
  3. Monitor database logs for suspicious queries that might indicate exploitation attempts
  4. Conduct a security assessment to identify any signs of previous exploitation
  5. Follow the principle of least privilege for database accounts used by the application

References

  1. Packet Storm Security - Hexagon G-nius Auskunftsportal SQL Injection: http://packetstormsecurity.com/files/162534/Hexagon-G-nius-Auskunftsportal-SQL-Injection.html

  2. GitHub - Exploit details and proof of concept: https://gist.githubusercontent.com/mke1985/a21a71098f48829916dfec74eff1e24a/raw/f635b060ad03e23fd887de48a79b70040daadadb/CVE-2021-32051

  3. Hexagon Product Information: https://www.hexagonsafetyinfrastructure.com/products/utilities-and-communications-products/advanced-utility-gis/hexagon-ginius

  4. Common Weakness Enumeration - CWE-89 (SQL Injection): https://cwe.mitre.org/data/definitions/89.html

Industry ExposureMost to least
This section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.

  1. Accommodation & Food Services
    Accommodation & Food Services
  2. Administrative, Support, Waste Management & Remediation Services
    Administrative, Support, Waste Management & Remediation Services
  3. Agriculture, Forestry Fishing & Hunting
    Agriculture, Forestry Fishing & Hunting
  4. Arts, Entertainment & Recreation
    Arts, Entertainment & Recreation
  5. Construction
    Construction
  6. Educational Services
    Educational Services
  7. Finance and Insurance
    Finance and Insurance
  8. Health Care & Social Assistance
    Health Care & Social Assistance
  9. Information
    Information
  10. Management of Companies & Enterprises
    Management of Companies & Enterprises
  11. Manufacturing
    Manufacturing
  12. Mining
    Mining
  13. Other Services (except Public Administration)
    Other Services (except Public Administration)
  14. Professional, Scientific, & Technical Services
    Professional, Scientific, & Technical Services
  15. Public Administration
    Public Administration
  16. Real Estate Rental & Leasing
    Real Estate Rental & Leasing
  17. Retail Trade
    Retail Trade
  18. Transportation & Warehousing
    Transportation & Warehousing
  19. Utilities
    Utilities
  20. Wholesale Trade
    Wholesale Trade

Focus on What Matters

  1. See Everything.
  2. Identify True Risk.
  3. Proactively Mitigate Threats.

Let's talk!

background