CVE-2024-29291: vulnerability

Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.

Generated by VEDAS. Scores as of 2026-11-30 07:36 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.

What it is

An issue in Laravel Framework 8 through 11 might allow a remote attacker to discover database credentials in storage/logs/laravel.log. NOTE: this is disputed by multiple third parties because the owner of a Laravel Framework installation can choose to have debugging logs, but needs to set the access control appropriately for the type of data that may be logged.

Description quoted from the CVE record (assigned by mitre, published 2024-04-16).

Weakness: CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

How it can be exploited

CISA assessment (SSVC): CISA assesses that a public proof of concept exists. Automatable: yes. Technical impact: partial.

Public exploit evidence (Exploit Observer)

Exploit Observer found 1 Exploit-DB entry and 5 code repositories naming this CVE.

Code repositories that name a CVE are often scanners, copies or fakes, and some are malware. Read the code before running anything.

See all 10 references on Exploit Observer

Live scores

EPSS
0.013
some chance of attack soon
VEDAS
0.983
strong exploit evidence
On CISA KEV
Not listed
Detection rule
Nuclei · Suricata

Who is affected

ProductAffectedNot affected
Not statedversions not stated in the recordNot stated

Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.

How to fix it

No fixed version or vendor advisory is listed in the CVE record yet. Watch the vendor’s security page.

How to detect it

Nuclei template (active check)

Laravel - Information Disclosure

Laravel Framework application deployments can expose the debug log at storage/logs/laravel.log without authentication. The log embeds database connection strings inside PDO stack traces, leaking the database host, username and cleartext password to a remote unauthenticated attacker.

Name and description quoted from the template, written by VEDAS.

The template sends 1 request (GET /storage/logs/laravel.log); it decides using status, word matchers. Severity in the template: high. Marked as not yet verified against a live vulnerable target.

Run it against a host you own or are authorised to test:

bash
nuclei -u https://your-host -t CVE-2024-29291.yaml
Show the template (36 lines)
yaml
id: CVE-2024-29291

info:
  name: "Laravel - Information Disclosure"
  author: vedas-arpsyndicate
  severity: high
  description: |
    Laravel Framework application deployments can expose the debug log at storage/logs/laravel.log without
    authentication. The log embeds database connection strings inside PDO stack traces, leaking the database
    host, username and cleartext password to a remote unauthenticated attacker.
  reference:
    - https://www.exploit.observer/?keyword=CVE-2024-29291&match=exact
    - https://subdomain.center/?engine=ammonites&keyword=laravel&match=exact
  classification:
    cve-id: CVE-2024-29291
    cwe-id: CWE-200
  metadata:
    verified: false
    max-request: 1
  tags: cve,cve2024,laravel,disclosure,logs

http:
  - method: GET
    path:
      - "{{BaseURL}}/storage/logs/laravel.log"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "PDO->__construct('mysql:host="

      - type: status
        status:
          - 200

CVE-2024-29291.yaml on GitHub

Suricata rules (network detection)

1 rule that alert on traffic matching this exploit: VEDAS CVE-2024-29291 Laravel - Information Disclosure Attempt. Add them to your Suricata rule set and reload.

Show the rules
suricata
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2024-29291 Laravel - Information Disclosure Attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/storage/logs/laravel.log"; nocase; fast_pattern; classtype:web-application-attack; reference:cve,CVE-2024-29291; reference:url,https://www.exploit.observer/?keyword=CVE-2024-29291&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=laravel&match=exact; sid:1029301; rev:1;)

CVE-2024-29291.rules on GitHub

Advisories on this CVE

References

Other references

Other databases

Where this comes from

This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.

Supporting partners