Skip to content
Path traversal Write-up Intermediate

SuiteCRM <= 7.11.11 (add_to_prospect_list) Broken Access Control Vulnerability

The add_to_prospect_list() function passes user input from the parent_module and parent_type parameters into a PHP include() call without proper validation. An attacker could include arbitrary .php files within the webroot and potentially bypass authorization checks.

karmainsecurity.com

Published on karmainsecurity.com

There is a Local File Inclusion vulnerability within the addtoprospectlist() function. User input passed through the “parentmodule” and “parenttype” parameters is not properly validated before being used in a call to the include() PHP function.

The author, on karmainsecurity.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the parent_module and parent_type parameters are used to build an include() path without validation or an allow-list.

Impact

An attacker could include arbitrary .php files within the webroot and potentially bypass authorization mechanisms, for example by loading administrative actions that do not implement ACL checks.

What the attacker needed

Access to the vulnerable endpoint

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This software lets a user choose which module and action to load, and it builds a file path from those choices. Because it does not check the choices properly, someone can point it at a different file on the server, including administrative files that normally require permission. That could let them do things they should not be allowed to do.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.