CVE-2012-4402 Missing authorization in n/a

Medium 4.9 Published Updated

Authenticated users can execute arbitrary external-service functions by reusing tokens intended for other services, leading to privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2012-4402?

CVE-2012-4402 is a medium-severity missing authorization vulnerability in Moodle Moodle, published on 19 Sep 2012. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

webservice/lib.php in Moodle 2.1.x before 2.1.8, 2.2.x before 2.2.5, and 2.3.x before 2.3.2 does not properly restrict the use of web-service tokens, which allows remote authenticated users to run arbitrary external-service functions via a token intended for only one service.

Weakness: CWE-264

Which versions are affected by CVE-2012-4402?

It affects 1 product.

Products include Moodle Moodle.

How do I fix CVE-2012-4402?

No fix has been published for CVE-2012-4402 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2012-4402 being exploited?

There is no known exploitation of CVE-2012-4402 in the wild and no public exploit code.

All Moodle Moodle vulnerabilities

Sources

Also known as GHSA-gw89-x73p-wccw.

Is CVE-2012-4402 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free