Skip to content
OpenAdvisories

Weakness (CWE)

CWE-862: Missing Authorization

Class Incomplete

The product does not perform an authorization check when an actor attempts to access a resource or perform an action.

How to prevent it (5 mitigations)
  1. Architecture and Design

    Divide the product into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [REF-229] to enforce the roles at the appropriate boundaries.

    Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.

  2. Architecture and Design

    Ensure that access control checks are performed related to the business logic. These checks may be different than the access control checks that are applied to more generic resources such as files, connections, processes, memory, and database records. For example, a database may restrict access for medical records to a specific database user, but each record might only be intended to be accessible to the patient and the patient's doctor [REF-7].

  3. Architecture and Design

    Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.

    For example, consider using authorization frameworks such as the JAAS Authorization Framework [REF-233] and the OWASP ESAPI Access Control feature [REF-45].

  4. Architecture and Design

    For web applications, make sure that the access control mechanism is enforced correctly at the server side on every page. Users should not be able to access any unauthorized functionality or information by simply requesting direct access to that page.

    One way to do this is to ensure that all pages containing sensitive information are not cached, and that all such pages restrict access to requests that are accompanied by an active and authenticated session token associated with a user who has the required permissions to access that page.

  5. System Configuration, Installation

    Use the access control capabilities of your operating system and server environment and define your access control lists accordingly. Use a "default deny" policy when defining these ACLs.

Source: MITRE CWE-862

10,631 results · Feed

  • Medium 4.3

    CordysCRM through 1.9.3 Missing Authorization via /custom-form/data/import

    CordysCRM through 1.9.3 contains a missing authorization vulnerability in the POST /custom-form/data/import endpoint that allows authenticated users to import data into any custom form by customFormId. Low-privileged attackers can upload Excel files with impo…

  • Medium 5.4

    CordysCRM through 1.9.3 Missing Authorization via /approval-resource/push

    CordysCRM through 1.9.3 contains a missing authorization vulnerability in POST /approval-resource/push that allows authenticated users to submit any resource for approval without ownership checks. Low-privileged attackers can supply arbitrary resourceId value…

  • Medium 4.3

    CordysCRM through 1.9.3 Missing Authorization and Blind SSRF via Webhook Test

    1Panel-dev CordysCRM through 1.9.3 lacks a PROCESS_SETTING permission check on POST /approval-flow/webhook/test, allowing any authenticated user to trigger server-side requests to attacker-supplied URLs. Attackers can redirect GET requests from a controlled h…

  • Medium 6.5

    1Panel-dev CordysCRM before 1.9.2 Missing Authorization via /field/source/business-title

    1Panel-dev CordysCRM before 1.9.2 contains a missing authorization vulnerability that allows authenticated users to list business titles by calling POST /field/source/business-title without permission checks. Users lacking CONTRACT_BUSINESS_TITLE_READ can ret…

  • Medium 4.3

    1Panel-dev CordysCRM before 1.9.2 Missing Authorization via POST /contract/sort

    1Panel-dev CordysCRM before 1.9.2 contains a missing authorization vulnerability in the ContractController sortModule handler for POST /contract/sort, which lacks any permission annotation. Authenticated users without contract update permission can supply a d…

  • Medium 6.5

    1Panel-dev CordysCRM 1.9.0 before 1.9.2 Missing Authorization via /field/source Endpoints

    1Panel-dev CordysCRM from 1.9.0 before 1.9.2 contains a missing authorization vulnerability in eight ModuleFieldController /field/source data-source endpoints lacking permission checks. Authenticated users denied module permission can page through organizatio…

  • Medium 4.3

    Eladmin through 2.7 Missing Authorization via /api/localStorage/pictures Upload

    Eladmin through 2.7 contains a missing authorization vulnerability in the LocalStorageController uploadPicture handler that allows low-privileged authenticated users to bypass the storage:add permission. Attackers can send POST requests with image-named files…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/api/sendTemplateAnnouncement

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability that allows any authenticated user to send template notifications by calling POST /sys/api/sendTemplateAnnouncement. Low-privileged attackers can supply forged sender, recipients, title, a…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/api/sendBusAnnouncement

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the sendBusAnnouncement handler of SystemApiController that allows any authenticated user to send announcements without the required permissions. Low-privileged attackers can POST craft…

  • Medium 6.5

    JeecgBoot through 3.9.5 Missing Authorization via /sys/api/getUserByName

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in GET /sys/api/getUserByName that allows low-privileged authenticated users to retrieve any user's stored password value. Attackers can decrypt the AES-CBC protected response using the ha…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/api/queryUserRoles

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the queryUserRoles handler of SystemApiController that lets authenticated users read any user's role codes. Low-privileged attackers can send GET requests to /sys/api/queryUserRoles wit…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/annountCement/downLoadFiles

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the SysAnnouncementController downLoadFiles handler that allows low-privileged authenticated users to download announcement attachments. Attackers can supply a known announcement id to …

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/annountCement/editIzTop

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the SysAnnouncementController editIzTop handler that allows low-privileged authenticated users to change announcement pin status. Attackers can send POST or PUT requests with any announ…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /openapi/queryById

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the OpenApiController queryById handler that allows low-privileged authenticated users to read OpenAPI definitions without openapi permissions. Attackers can request GET /openapi/queryB…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /airag/prompts/exportXls

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the AiragPromptsController exportXls handler that allows any authenticated user to export all AI prompts. Low-privileged attackers can request /airag/prompts/exportXls to download every…

  • Medium 6.5

    JeecgBoot through 3.9.5 Missing Authorization via /airag/airagMcp/queryById

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability that allows any authenticated user to read MCP server configurations because the queryById permission check is commented out. Attackers can obtain record ids from the unguarded /airag/app/…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /airag/prompts/experiment

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the promptExperiment handler of AiragPromptsController that allows any authenticated user to run AI prompt experiments. Low-privileged attackers can supply other users' prompt template …

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /airag/knowledge/embedding/search

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the embeddingSearch handler of AiragKnowledgeController that lacks Shiro permission annotations. Low-privileged authenticated attackers can supply knowledge base ids to the GET /airag/k…

  • Medium 5.4

    JeecgBoot through 3.9.5 Missing Authorization via /airag/prompts/deleteRecycleBin

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the AiragPromptsController deleteRecycleBin handler that allows any authenticated user to purge AI prompt templates. Low-privileged attackers can send DELETE requests with prompt templa…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /airag/prompts/revertRecycleBin

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability that allows low-privileged authenticated users to restore deleted AI prompt templates by calling the revertRecycleBin endpoint. Attackers can send PUT requests to /airag/prompts/revertRecy…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /airag/prompts/edit

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the AiragPromptsController edit handler that allows any authenticated user to modify AI prompt templates. Low-privileged attackers can send PUT or POST requests to /airag/prompts/edit w…

  • Medium 5.4

    JeecgBoot through 3.9.5 Missing Authorization via /airag/prompts/deleteBatch

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the deleteBatch handler of AiragPromptsController that allows any authenticated user to delete AI prompt templates. Low-privileged attackers can obtain prompt ids from the unguarded lis…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/tenant/deleteApply

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the SysTenantController deleteApply handler that allows any authenticated user to reject tenant administrator applications. Low-privileged attackers can send PUT requests with chosen te…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /airag/prompts/queryById

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the AiragPromptsController queryById handler that allows low-privileged authenticated users to read any AI prompt template. Attackers can enumerate ids via the unguarded /airag/prompts/…

  • Medium 5.4

    JeecgBoot through 3.9.5 Missing Authorization via /sys/tenant/deleteTenantPackUser

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability that allows low-privileged authenticated users to remove users from tenant product packs via PUT /sys/tenant/deleteTenantPackUser. Attackers can supply arbitrary userId and packId values i…

  • Medium 6.5

    JeecgBoot through 3.9.5 Missing Authorization via /sys/tenant/changeOwenUserTenant

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability that allows any authenticated user to transfer tenant ownership via POST /sys/tenant/changeOwenUserTenant. Low-privileged attackers can supply userId and tenantId parameters to reassign an…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/tenant/updateApplyStatus

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability that allows any authenticated user to modify tenant settings by calling PUT /sys/tenant/updateApplyStatus. Low-privileged attackers can supply any tenant id to overwrite its applyStatus fi…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/tenant/listPackByTenantUserId

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the SysTenantController listPackByTenantUserId handler that allows any authenticated user to query tenant product packs. Low-privileged attackers can supply arbitrary tenantId and userI…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/tenant/queryTenantAuthInfo

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the SysTenantController queryTenantAuthInfo handler that allows any authenticated user to read other tenants' records. Low-privileged attackers can iterate small integer tenant ids to r…

  • High 8.1

    JeecgBoot through 3.9.5 Missing Authorization via /sys/tenant/passApply

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the SysTenantController passApply handler that allows any authenticated user to approve tenant administrator applications. Attackers can file a pending application via doApplyTenantPack…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via getTenantPackApplyUsers Endpoint

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the SysTenantController GET /sys/tenant/getTenantPackApplyUsers endpoint that allows any authenticated user to read tenant administrator applications. Low-privileged attackers can itera…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/quartzJob/queryById

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the QuartzJobController queryById handler that allows low-privileged authenticated users to read scheduled job records. Attackers can request GET /sys/quartzJob/queryById with a job id …

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/oss/file/queryById

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the OssFileController queryById handler that allows low-privileged authenticated users to read object storage file records. Attackers who know a record id can request GET /sys/oss/file/…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via GET /openapi/list

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the queryPageList handler of OpenApiController that allows any authenticated user to list OpenAPI registry definitions. Low-privileged attackers can query GET /openapi/list to read virt…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/api/updateAvatar

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the SystemApiController updateAvatar handler that allows any authenticated user to change other users' avatars. Low-privileged attackers can send PUT requests with a target user id and …

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/api/getRolesByUserId

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the getRolesByUserId handler of SystemApiController that allows authenticated users to retrieve any user's role codes. Low-privileged attackers can supply arbitrary userId values to GET…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/api/getUserPermissionSet

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the getUserPermissionSet handler of SystemApiController that allows any authenticated user to read other users' permission codes. Low-privileged attackers can supply an arbitrary userId…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/api/queryUserRolesById

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the queryUserRolesById handler of SystemApiController that lets authenticated users read any user's role codes. Low-privileged attackers can send a userId to GET /sys/api/queryUserRoles…

  • Medium 6.5

    JeecgBoot through 3.9.5 Missing Authorization via getDynamicDbSourceByCode Endpoint

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the GET /sys/api/getDynamicDbSourceByCode endpoint of SystemApiController, which lacks Shiro permission or role annotations. Any authenticated low-privileged user can supply datasource …

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/category/importExcel

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the SysCategoryController importExcel handler that allows any authenticated user to import category dictionary entries. Low-privileged attackers can upload crafted Excel workbooks to bu…