Skip to content

[Hardening] F-16: Weak Default Password on System VMs. #14075

Open

Description

@davift

The required feature described as a wish

Description: By default, CloudStack uses a hard-coded password for all System VMs.

Affected Components: System VMs (SSVM, CPVM, and VR)

Impact: An attacker who knows the default credentials, which are publicly documented, and has console access to any System VM could log in as root.

  • On a VR: the attacker could act as a man-in-the-middle (MITM).
  • On a SSVM: the attacker could tamper with templates and ISOs, and delete snapshots.
  • On a CPVM: the attacker could potentially install a keylogger on noVNC sessions.

Steps to Reproduce:

  • Open the Console of any System VM.
  • Enter the default username root and password password.

Recommended Remediation: Enable randomization of System VM passwords by default, while allowing administrators to disable this behavior if needed.

Note: This feature already exists. Additionally, documentation improvements have been proposed to clarify how to enable and use it.

Activity

  1. github-actions commented on Sep 8, 2026

    @github-actions

    🎯 Triage report

    Reports that CloudStack System VMs (SSVM, CPVM, VR) ship with a hard-coded default password (root/password), which is publicly documented and could be exploited by an attacker with console access. The author notes that password randomization already exists as an opt-in feature, so this is primarily a "make it the secure default" request plus a documentation ask.

    📊 Assessment

    Dimension Value Reasoning
    Type type:security Describes a weak-by-default credential configuration with a documented attack path.
    Component component:ssvm, component:csvm, component:virtual-router All three System VM types are explicitly named as affected.
    Severity n/a (no Severity label applied) Requires console access to exploit rather than being remotely exploitable; author frames this as a hardening/default-config issue rather than an active bug, so severity is left to maintainer judgment.
    Labels type:security, component:ssvm, component:csvm, component:virtual-router See above.
    Coding agent Needs more info The underlying randomization feature already exists per the author; the actual code change (flipping the default) is small, but deciding whether to change the default (upgrade/compatibility impact) is a policy decision for maintainers. Documentation-only portion could be agent-suitable.

    🔗 Similar issues

    No open duplicate or closely related open issue was found in a search for default System VM passwords.

    💡 Notes and suggestions
    • Companion report from the same author: [Hardening] F-01: Failure to Initialize a Secure Transport Layer (TLS) During Out-of-the-Box Setup. #14074 (TLS not enabled by default). Maintainers may want to track these "[Hardening] F-xx" reports together.
    • Author states the randomization feature already exists — worth confirming the relevant global setting/flag (e.g. system.vm.random.password or similar) and whether it's simply disabled by default today.
    • If maintainers agree to change the default, this would need release-notes/upgrade documentation since it changes default admin console credentials for existing and new deployments.
    • Consider whether this should go through the project's private security disclosure process per SECURITY.md, though the author has already filed it publicly and notes it's a known/documented behavior.

    Generated by Daily Issue Triage · sonnet50 110.8K · ◷

    Add this agentic workflows to your repo

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/daily-issue-triage.md@d7c1dc4b72b00607a67caaffdcc216cb64379cf9
    
  2. changed the title [-][Hardening] F-17: Weak Default Password on System VMs.[/-] [+]Weak Default Password on System VMs.[/+] on Sep 9, 2026
  3. added theissue type on Sep 9, 2026
  4. added this to the 24.0 milestone on Sep 9, 2026
  5. RosiKyu commented on Sep 30, 2026

    @RosiKyu
    Collaborator

    @davift are you planning to submit a PR to address this for the upcoming 24.0 release?

  6. davift commented on Sep 30, 2026

    @davift
    Author

    @davift are you planning to submit a PR to address this for the upcoming 24.0 release?

    Dear @RosiKyu , I wish i had the necessary competencies to take care of this issue myself but that is not the case.

    Feel free to assign the issue to yourself of that is in your intentions.

    Thank you for asking, though.

  7. changed the title [-]Weak Default Password on System VMs.[/-] [+][Hardening] F-16: Weak Default Password on System VMs.[/+] on Oct 6, 2026
  8. modified the milestones: 24.0, 25.0 on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions