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

7,354 results · Clear filters · Feed

  • 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…

  • 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…

  • Medium 4.3

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

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability that allows low-privileged authenticated users to create validation rules through the SysCheckRuleController importExcel handler. Attackers can upload a crafted Excel workbook to bypass th…

  • Medium 4.3

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

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in SysCategoryController that allows any authenticated user to edit category dictionary nodes via /sys/category/edit. Low-privileged attackers can send POST or PUT requests supplying a nod…

  • Medium 5.4

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

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the SysCategoryController delete handler that allows any authenticated user to delete category dictionary nodes. Low-privileged attackers can obtain node ids from the unguarded rootList…

  • Medium 5.4

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

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability that allows low-privileged authenticated users to delete category dictionary entries via DELETE /sys/category/deleteBatch. Attackers can obtain node ids from the unguarded rootList and chi…

  • Medium 5.4

    JeecgBoot through 3.9.5 Missing Authorization via /sys/dict/deletePhysic/{id}

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability that allows any authenticated user to permanently delete data dictionaries via the deletePhysic handler of SysDictController. Low-privileged attackers can send DELETE requests to /sys/dict…

  • Medium 4.3

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

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the SysDepartRoleController queryById handler that lacks Shiro permission annotations. Low-privileged authenticated attackers can request GET /sys/sysDepartRole/queryById with any id to…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/user/deleteGroupUser

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability that allows low-privileged authenticated users to remove group memberships via the deleteGroupUser handler in SysUserController. Attackers can send DELETE requests with arbitrary groupId a…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/sysDepart/appImportExcel

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the SysDepartController appImportExcel handler that allows any authenticated user to import departments. Low-privileged attackers can upload a crafted Excel workbook to POST /sys/sysDep…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via deleteUserGroupBatch Endpoint

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability that allows low-privileged authenticated users to remove user group members by calling DELETE /sys/user/deleteUserGroupBatch. Attackers can supply any groupId and comma-separated userIds t…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via getDepartmentHead Endpoint

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the GET /sys/sysDepart/getDepartmentHead endpoint of SysDepartController that allows any authenticated user to list department staff. Low-privileged attackers can enumerate departId val…

  • Medium 5.4

    JeecgBoot through 3.9.5 Missing Authorization via sysDepartPermission deleteBatch Endpoint

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability that allows low-privileged authenticated users to delete department permission bindings via the DELETE /sys/sysDepartPermission/deleteBatch endpoint. Attackers can obtain row ids from the …

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via /sys/sysDepartPermission/add

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability that allows low-privileged authenticated users to create department permission bindings via POST /sys/sysDepartPermission/add. Attackers can submit arbitrary departId, permissionId and dat…

  • Medium 4.3

    JeecgBoot through 3.9.5 Missing Authorization via sysDepartPermission queryById Endpoint

    JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the SysDepartPermissionController queryById handler that allows any authenticated user to read department permission records. Low-privileged attackers can request GET /sys/sysDepartPerm…