{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-7659 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-7659 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-7659 is a medium-severity vulnerability in projectsend, published on 11 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-7659 and fix it if it is affected.\n\nWhat it is: CVE-2024-7659 is a medium-severity vulnerability in projectsend, published on 11 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-7659 in the wild and no public exploit code.\n\nAffected product: projectsend. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-7659/ (Markdown: https://insights.sbomify.com/CVE-2024-7659/index.md)","id":"CVE-2024-7659","markdown":"https://insights.sbomify.com/CVE-2024-7659/index.md","name":"CVE-2024-7659","record":{"aliases":["GHSA-255h-xw34-5qmq"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"ProjectSend file sharing","requires_auth":"none","summary":"Attackers can predict password reset tokens due to weak random number generation, potentially taking over user accounts.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"projectsend","vendor":"projectsend"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-330","name":"Use of Insufficiently Random Values"}],"description":"A vulnerability, which was classified as problematic, was found in projectsend up to r1605. Affected is the function generate_random_string of the file includes/functions.php of the component Password Reset Token Handler. The manipulation leads to insufficiently random values. It is possible to launch the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. Upgrading to version r1720 is able to address this issue. The name of the patch is aa27eb97edc2ff2b203f97e6675d7b5ba0a22a17. It is recommended to upgrade the affected component.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"projectsend Password Reset Token functions.php generate_random_string random values","id":"CVE-2024-7659","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"weak_cryptography","year":"2024"},"n_packages":0,"n_references":5,"next":{"headline":"SourceCodester File Manager App Add File cross site scripting","id":"CVE-2024-7660"},"packages":[],"prev":{"headline":"projectsend process.php get_preview resource injection","id":"CVE-2024-7658"},"products":["projectsend"],"published":"2024-08-11","related":[{"cvss_score":9.8,"headline":"ProjectSend Improper Authentication","id":"CVE-2024-11680","kev_date_added":"2024-12-03","published":"2024-11-26"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2021-40887","kev_date_added":null,"published":"2021-10-11"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2016-10731","kev_date_added":null,"published":"2018-10-28"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2016-10732","kev_date_added":null,"published":"2018-10-28"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2016-10733","kev_date_added":null,"published":"2018-10-28"},{"cvss_score":9.8,"headline":"Missing authorization in n/a","id":"CVE-2016-10734","kev_date_added":null,"published":"2018-10-28"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2017-9741","kev_date_added":null,"published":"2017-06-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-13","vendors":["n/a"]},"summary":"Attackers can predict password reset tokens due to weak random number generation, potentially taking over user accounts.","url":"https://insights.sbomify.com/CVE-2024-7659/"}