If you can check in remotely (or even better, check all the way through at ORD, which will likely happen if you're checking bags through) and your flight has a pretty good on-time record, it should be fine. Coming from the US, you won't have any inspection, so it's just the time taking the bus. I would personally be comfortable making that connection.
I had an hour on two separate tickets coming back from BKK with checked bags and had to go through security inspection since it was inbound from SEA, and still made it to my terminal with 10 minutes to spare after 25 minutes of going through the security lines. I was in Y, but about 10 rows back from the door. That said, there's risk, so it'll come down to how much risk you are willing to handle and how fast you can be to get between terminals.
Also worth adding I was solo. If it's 2 people probably fine. If you have kids and lots of carry-on, or more than 3 people, I'd definitely move to a later connection if possible.