Advisory

GHSA-h956-rh7x-ppgj

Details, part 3 of 3. The advisory

Details

Legal & Business Impact

  • Data Breach Notification: GDPR Art. 33, CCPA §1798.150
  • Regulatory Fines: GDPR up to €20M or 4% annual revenue
  • Customer Trust: Severe reputational damage
  • Service Disruption: SLA violations, customer compensation
  • Incident Response Costs: Forensics, remediation, legal fees

---

Proof of Concept

Automated POC Script

File: audit_analysis/poc_cve_2025_008_grpc_token_working.sh

Usage:

chmod +x poc_cve_2025_008_grpc_token_working.sh
./poc_cve_2025_008_grpc_token_working.sh [target_host:port]

Default Target: localhost:9000

POC Features

  1. ✅ Baseline Authentication Testing
  • Verifies unauthenticated requests are rejected
  • Verifies incorrect tokens are rejected
  1. ✅ Exploit Demonstration
  • Authenticates using hardcoded token
  • Calls Ping service successfully
  1. ✅ Sensitive API Access
  • Accesses ServerInfo (configuration disclosure)
  • Accesses DiskInfo (system information)
  • Demonstrates authenticated access to management APIs
  1. ✅ Detailed Reporting
  • Displays vulnerable code locations
  • Lists all affected APIs (50+ methods)
  • Provides CVSS scoring and impact analysis
  • Includes remediation recommendations

POC Output Summary

[PHASE 1] Baseline Testing
  ✓ Without token: REJECTED (Unauthenticated)
  ✓ With wrong token: REJECTED (Unauthenticated)

[PHASE 2] Exploit
  ✓ With hardcoded token "rustfs rpc": ACCEPTED ✅

[PHASE 3] Sensitive API Access
  ✓ ServerInfo: SUCCESS - Configuration disclosed
  ✓ DiskInfo: SUCCESS - System information accessible

[RESULT] VULNERABILITY CONFIRMED

Acknowledgements

We would like to thank bilisheep from the Xmirror Security Team for discovering and responsibly reporting this vulnerability.

Sources & licences