Security Issue: SSL Private Key Committed to Repository
I've identified that your repository contains an SSL private key with an associated certificate, which is used by the SuperAdmin application.
Location
Confirmed Impact
The key is actively deployed by the application (definitions/superadmin.js):
var filename = Path.join(CONF.directory_ssl, 'superadmin.key');
Fs.copyFile(PATH.private('superadmin.key'), filename, NOOP);
And used for SSL configuration (tasks/nginx.js):
domains.push({
ssl_key: CONF.directory_ssl + 'superadmin.key',
ssl_cer: CONF.directory_ssl + 'superadmin.csr'
});
Security Risks
- 🔴 Admin Panel Impersonation - Anyone can authenticate as SuperAdmin
- 🔴 SSL Certificate Forgery - Can sign certificates as your organization
- 🟠 Managed Server Compromise - Access to servers running SuperAdmin
Immediate Actions Required
- URGENT: Generate new SSL key pair immediately
- Rotate certificates on all deployments
- Update
/www/ssl/superadmin.key on all servers
- Add to
.gitignore:
private/*.key
private/*.csr
- Remove from git history using BFG Repo-Cleaner or git-filter-repo
- Monitor for unauthorized SuperAdmin instances
Additional Context
- Verified RSA-2048 key
- Associated CSR present in repository
- Key modulus matches CSR (confirms usage)
Timeline
Following responsible disclosure practices. Given the ~100 stars and 46 forks, multiple deployments may be affected.
Let me know if you need clarification or assistance with remediation.
Security Issue: SSL Private Key Committed to Repository
I've identified that your repository contains an SSL private key with an associated certificate, which is used by the SuperAdmin application.
Location
private/superadmin.keyprivate/superadmin.csr(matching certificate)Confirmed Impact
The key is actively deployed by the application (
definitions/superadmin.js):And used for SSL configuration (
tasks/nginx.js):Security Risks
Immediate Actions Required
/www/ssl/superadmin.keyon all servers.gitignore:Additional Context
Timeline
Following responsible disclosure practices. Given the ~100 stars and 46 forks, multiple deployments may be affected.
Let me know if you need clarification or assistance with remediation.