Skip to content
Misconfiguration Disclosed report Beginner

Unrestricted Access to Celery Flower Instance

The Celery Flower instance was publicly accessible without authentication, allowing anyone to view tasks and workers, and potentially manipulate tasks or execute arbitrary code on the worker. The reporter confirmed unrestricted access to the API endpoints.

ashwarya Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in 4 days
  • Paid in 4 days
  • Disclosed after 17 days

Summary by the program

The publicly accessible Celery Flower instance allowed unrestricted access, exposing sensitive information, and the ability to manipulate tasks.

The report

Hi Team,

The Celery Flower instance is running and publicly accessible via the PIM mobile route /pim/flower/*. The access to this service is presently unrestricted.

I quickly took a glance at the API to ensure that access is unrestricted. From this quick look, it appears possible to shut down a worker instance, revoke or terminate tasks, and perform other actions. In addition to unrestricted access to tasks and workers, I observed ███ via /api/tasks endpoint. Most importantly, the endpoint /api/task/async-apply/* seems to apply a task asynchronously, and there seems to be a possibility to execute arbitrary code on the Celery worker through this endpoint. I believe it's unwise for me to go beyond this since the instance is running in the prod environment, so I'm sending this quick report to you. If some form of escalation is needed for impact assessment, please let me know.

##Vulnerable Endpoint

https://api.excalls.mobi/pim/flower/

#Steps to Reproduce

https://api.excalls.mobi/pim/flower/api/workers
https://api.excalls.mobi/pim/flower/api/tasks
https://api.excalls.mobi/pim/flower/api/task/info/dc58fcb7-be31-4f4e-aeff-5837f0c32d30

#Proof of Concept █████

████

██████

#Suggested Mitigation

Set the flower_unauthenticated_api environment variable to false

Impact

The impact includes, but is not limited to:

  1. Manipulating tasks to achieve unintended outcomes, such as disrupting or halting PIM processes.
  2. ███
  3. A malicious actor could continuously monitor and revoke tasks as they are created, preventing their execution and consuming resources. This could exhaust the Celery worker's resources and hinder its ability to handle legitimate tasks.
  4. There seems to be a possibility to execute arbitrary code on the Celery worker by executing a task asynchronously.

The original report as published on HackerOne, by ashwarya. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

How it worked

Impact

An attacker could view sensitive task information, manipulate or revoke tasks, disrupt PIM processes, and potentially execute arbitrary code on the Celery worker.

What the attacker needed

None

The fix

Set the flower_unauthenticated_api environment variable to false to enable authentication.

How it was found

  1. Access the Flower API workers endpoint.
  2. Access the Flower API tasks endpoint.
  3. Access the Flower API task info endpoint for a specific task ID.

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 report has not been written yet. The Original tab links to the source.

Celery Flower is a web dashboard for monitoring and managing background jobs (tasks) in a system. If it is left open to the internet without a password, anyone can see the jobs and even stop them or start new ones, which could break the service or let an attacker run their own code.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by ashwarya

View all

7 more disclosed reports, best first.

More from EXNESS

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.