Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible file inclusion vulnerability #2052

Closed
enferas opened this issue May 14, 2021 · 3 comments
Closed

Possible file inclusion vulnerability #2052

enferas opened this issue May 14, 2021 · 3 comments

Comments

@enferas
Copy link

enferas commented May 14, 2021

Hello,

I would like to report for possible file inclusion vulnerability.

In file "web/add/user/index.php"

// line 86
// the source
$subject = _translate($_POST['v_language'],"Welcome to Vesta Control Panel");

File web/inc/i18n.php

// line 9
function _translate() {
// ...
$args = func_get_args();
$l = $args[0];
// ...
// the sink with file inclusion with $l
require_once($_SERVER['DOCUMENT_ROOT']."/inc/i18n/$l.php");

// ...
}
@dpeca
Copy link
Collaborator

dpeca commented Sep 3, 2021

@enferas what we should write in Changelog as Credits?
Credits to @enferas ?

@enferas
Copy link
Author

enferas commented Nov 9, 2021

@dpeca Thank you for confirming my report.
If it is okay for you. I would like to gain a CVE for my discovery.
Should I contact CVE Mite then they contact you ? or you prefer to contact them directly?

@enferas
Copy link
Author

enferas commented Dec 2, 2021

CVE-2021-43693 is assigned.

vesta 0.9.8-24 is affected by a file inclusion vulnerability in file web/add/user/index.php.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants