GoldOpen Source
ExplorePackagesVulnerabilitiesMCP Servers
Search Gold…⌘KLogin
GoldOpen Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security and license compliance.

Explore Gold

  • Explore Everything
  • Packages
  • Gold Packages
  • Container Images
  • AI Models
  • MCP Servers
  • Agent Skills
  • Chip Manufacturers

Security Data & Tools

  • Scan Your Dependencies
  • Trending Threats
  • Threat RSS Feeds
  • CVE Database
  • Actively Exploited (KEV)
  • SGZ Zero-Days
  • CWE Index
  • MITRE ATT&CK
  • Malicious Packages
  • Security Glossary
  • Supply-Chain Report
  • Developers (API & Badge)
  • Chrome Extension
  • Credits & Data Sources

Products

  • The Platform
  • ESSCM
  • Portal
  • TPRM
  • OSM
  • Cowork
  • Code / Runner
  • Guard

Use Cases

  • Know Your Software
  • Auto-Fix Vulnerabilities
  • Asset Discovery
  • AI Governance
  • MCP Server Security
  • Supply Chain Compliance
  • Zero-Day Discovery
  • All Use Cases

Company

  • About
  • Pricing
  • Blog
  • Documentation
  • Safeguard Academy
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Gold Open Source. All rights reserved.

Built with care bySafeguard
GoldOpen Source
ExplorePackagesVulnerabilitiesMCP Servers
Search Gold…⌘KLogin
Home/CWEs/CWE-285
ShareXLinkedInRedditHN
Common Weakness Enumeration

CWE-285: Improper Authorization

Abstraction
Class
OWASP Top 10
A01:2021 (#1)
Exploit Likelihood
High
Related CVEs
10

Description

The product performs an authorization check incorrectly or not at all.

How to mitigate

  • Enforce authorization on every request at the resource layer, not the UI.

How attackers exploit CWE-285

MITRE ATT&CK techniques associated with this weakness class (mapped via MITRE CAPEC). A vulnerability of this type could let an adversary carry out:

T1003OS Credential Dumpingcredential-accessT1005Data from Local SystemcollectionT1012Query Registrydiscovery

Related CVEs

LowCVE-2024-30260Security vulnerability in undici
MediumCVE-2026-41187Security vulnerability in calico
MediumCVE-2026-47673Security vulnerability in hono

References & documentation

  • https://cwe.mitre.org/data/definitions/285.html
  • NVD CWE listing

Weakness facts

IDCWE-285
AbstractionClass
OWASP Top 10A01:2021 (#1)
Exploit LikelihoodHigh
Related CVEs10

Turn Gold’s intelligence into continuous protection

Safeguard scans your code, containers, and dependencies, tells you what’s exposed, and automates the fixes.

Start free See pricing
GoldOpen Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security and license compliance.

Explore Gold

  • Explore Everything
  • Packages
  • Gold Packages
  • Container Images
  • AI Models
  • MCP Servers
  • Agent Skills
  • Chip Manufacturers

Security Data & Tools

  • Scan Your Dependencies
  • Trending Threats
  • Threat RSS Feeds
  • CVE Database
  • Actively Exploited (KEV)
  • SGZ Zero-Days
  • CWE Index
  • MITRE ATT&CK
  • Malicious Packages
  • Security Glossary
  • Supply-Chain Report
  • Developers (API & Badge)
  • Chrome Extension
  • Credits & Data Sources

Products

  • The Platform
  • ESSCM
  • Portal
  • TPRM
  • OSM
  • Cowork
  • Code / Runner
  • Guard

Use Cases

  • Know Your Software
  • Auto-Fix Vulnerabilities
  • Asset Discovery
  • AI Governance
  • MCP Server Security
  • Supply Chain Compliance
  • Zero-Day Discovery
  • All Use Cases

Company

  • About
  • Pricing
  • Blog
  • Documentation
  • Safeguard Academy
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Gold Open Source. All rights reserved.

Built with care bySafeguard
T1083
File and Directory Discovery
discovery
T1112Modify Registrydefense-impairment · persistence
T1119Automated Collectioncollection
T1134Access Token Manipulationstealth · privilege-escalation
T1185Browser Session Hijackingcollection
T1213Data from Information Repositoriescollection
T1530Data from Cloud Storagecollection
T1548Abuse Elevation Control Mechanismprivilege-escalation
T1550Use Alternate Authentication Materiallateral-movement
T1552Unsecured Credentialscredential-access
T1555Credentials from Password Storescredential-access
T1562Impair Defensesstealth
T1563Remote Service Session Hijackinglateral-movement
T1565Data Manipulationimpact
T1574Hijack Execution Flowstealth · execution
T1602Data from Configuration Repositorycollection
T1606Forge Web Credentialscredential-access
T1647Plist File Modificationdefense-impairment

Step-by-step: how CWE-285 gets exploited

A stage-by-stage walkthrough of the attack, mapped to the real MITRE ATT&CK tactics for this weakness — what the attacker is trying to do, what's at risk (what can be stolen or damaged), and how you defend. Understanding the playbook is how you shut it down.

  1. 1
    Executionexecution

    Run attacker-chosen code or commands on the system.

    At risk / what's stolen

    Application logic and the host runtime — an attacker can execute arbitrary code or commands.

    How you defend

    Least-privilege runtime, sandboxing, and safe deserialization/parsing.

  2. 2
    Persistencepersistence

    Stay in even after reboots, patches, or credential changes.

    At risk / what's stolen

    Startup hooks, scheduled tasks, config, and accounts the attacker can plant a backdoor in.

    How you defend

    Integrity monitoring of code, config, and scheduled tasks; short-lived credentials.

  3. 3
    Privilege escalationprivilege-escalation

    Gain higher privileges — from a limited account to admin/root.

    At risk / what's stolen

    Over-permissioned services, weak file/permission boundaries, and setuid paths.

    How you defend

    Drop privileges, enforce least privilege, and lock down file permissions.

  4. 4
    Credential accesscredential-access

    Steal passwords, tokens, keys, and session material.

    At risk / what's stolen

    Passwords, API keys, session tokens, SSH/TLS keys, and secrets in memory, env, or config.

    How you defend

    Secret managers, short-lived tokens, and no secrets in code/env/logs.

  5. 5
    Discoverydiscovery

    Map what else is reachable — hosts, services, data stores, and accounts.

    At risk / what's stolen

    Internal topology, service inventory, and data locations the attacker enumerates.

    How you defend

    Network segmentation and detection of unusual internal scanning.

  6. 6
    Lateral movementlateral-movement

    Pivot from the compromised system to others on the network.

    At risk / what's stolen

    Adjacent servers, databases, and internal services reachable from the foothold.

    How you defend

    Segmentation, per-service auth, and blocking reused credentials across systems.

  7. 7
    Collectioncollection

    Gather the valuable data before taking it out.

    At risk / what's stolen

    Databases, files, customer records, source code, and business data.

    How you defend

    Data-access monitoring, encryption at rest, and least-privilege data access.

  8. 8
    Impactimpact

    Cause damage — destroy, encrypt, deny, or manipulate.

    At risk / what's stolen

    Availability and integrity: ransomware encryption, data wiping, or service denial.

    How you defend

    Tested offline backups, integrity checks, and rate/abuse limiting.

This is a defensive, conceptual walkthrough for education — stages reflect MITRE ATT&CK tactics associated with this weakness class, not a working exploit. Not every attack uses every stage.

MediumCVE-2026-47673Security vulnerability in hono
MediumCVE-2018-10906Security vulnerability in fuse
MediumCVE-2026-47673Security vulnerability in hono
HighCVE-2025-62610Security vulnerability in hono
LowCVE-2024-30260Security vulnerability in undici
MediumCVE-2021-21096Security vulnerability in bridge
CriticalCVE-2018-14670Security vulnerability in clickhouse