| 제목 | 1Panel-dev CordysCRM Not specified in supplied report Improper Authorization / IDOR |
|---|
| 설명 | Submission reference: CVEsStudy-004
Reporter confirmation (2026-10-30): the reporter states that this finding has been validated, the vendor has been contacted beforehand, no CVE has been assigned to this issue, and this issue has not been submitted to another CNA. CVE assignment is requested. Runtime logs and vendor-contact records are not attached in this submission.
Evidence provenance: supplied source-analysis report. The submission-preparation agent did not independently execute the PoC. Reproduction steps below are reproduced from the supplied report; expected responses are not presented as captured output.
Repository: https://github.com/1Panel-dev/CordysCRM
Vendor field uses the repository owner.
Affected version / commit: not specified in the supplied original materials; exact affected release range remains unspecified.
Source report finding date (not a version): 2026-10-30
Title:
数据源引用详情接口缺失授权,任意登录用户可读任意产品/价格记录
Affected component:
backend/crm/src/main/java/cn/cordys/crm/system/service/ModuleFieldService.java:164
Technical description:
POST /field/source/ref-detail 无任何权限注解,仅需登录;它把 dataSourceType 与 sourceIds 交给 ModuleFieldService.getSourceRefDetail(164-204),经 SOURCE_REF_CLASS(PRODUCT→ProductService、PRICE→ProductPriceService)反射调用 get(id)。ProductService.get(148-166)/ProductPriceService.get(238-253) 仅 selectByPrimaryKey 后组装业务字段,既不校验 PRODUCT_MANAGEMENT:READ/PRICE_READ 也不校验 organization_id;同控制器 /field/source/product 与 /field/source/price 亦无权限注解且 list 内部不校验权限。
Reproduction steps from the source report:
无产品权限的登录用户批量读取产品记录。
1. {'step': 1, 'action': '读取任意产品详情或直接列举', 'request': 'POST /field/source/ref-detail {"dataSourceType":"PRODUCT","sourceIds":["2038192564785152100"]}', 'expected_response': '200 返回产品名称/自定义字段/状态,即使无 PRODUCT_MANAGEMENT:READ'}
Suggested remediation:
按 dataSourceType 映射权限位校验,并对每个 id 校验 organization_id 等于当前组织。 |
|---|
| 사용자 | fishrety (UID 102589) |
|---|
| 제출 | 2026. 10. 30. PM 04:49 (1 월 ago) |
|---|
| 모더레이션 | 2026. 12. 02. AM 09:46 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 447622 [1Panel-dev CordysCRM 까지 1.9.7 Source Reference Detail Endpoint ModuleFieldService.java ModuleFieldService.getSourceRefDetail dataSourceType/sourceIds 권한 상승] |
|---|
| 포인트들 | 17 |
|---|